lint compliance

pull/1/head
ansuz 4 years ago
parent d17265f2eb
commit 5c4e2bbfb4

@ -48,6 +48,7 @@ define([
$hist.addClass('cp-smallpatch');
$hist.addClass('cp-history-oo');
var $bottom = $toolbar.find('.cp-toolbar-bottom');
var Messages = common.Messages;
var getVersion = function () {
var major = sortedCp.length - cpIndex;
@ -137,8 +138,6 @@ define([
config.setHistory(true);
var Messages = common.Messages;
$hist.html('').css('display', 'flex');
$bottom.hide();

@ -392,7 +392,7 @@ define([
};
*/
var makeSnapshot = function (title) {
var makeSnapshot = function (title, $input) {
var idx = getIndex(c);
if (!config.getLastMetadata || !config.setLastMetadata) { return; }
try {
@ -622,7 +622,7 @@ define([
onClick: function () {
var val = $input.val();
if (!val) { return true; }
makeSnapshot(val);
makeSnapshot(val, $input);
},
keys: [],
}];

Loading…
Cancel
Save