lint compliance

pull/1/head
yflory 5 years ago committed by ansuz
parent 7bbbbbad77
commit ff6d28a1e9

@ -666,9 +666,9 @@ define([
var data = allFilesList[id] || allSFList[id]; var data = allFilesList[id] || allSFList[id];
if (!data) { return; } if (!data) { return; }
if (Array.isArray(data.tags) && containsSearchedTag(data.tags)) { if (Array.isArray(data.tags) && containsSearchedTag(data.tags)) {
res.push(id); return void res.push(id);
} else }
var title = data.title || data.lastTitle var title = data.title || data.lastTitle;
if ((title && title.toLowerCase().indexOf(lValue) !== -1) || if ((title && title.toLowerCase().indexOf(lValue) !== -1) ||
(data.filename && data.filename.toLowerCase().indexOf(lValue) !== -1)) { (data.filename && data.filename.toLowerCase().indexOf(lValue) !== -1)) {
res.push(id); res.push(id);

@ -456,7 +456,7 @@ define([
}); });
}; };
var mkPrintButton = function (framework, editor, ckeditor) { var mkPrintButton = function (framework, editor) {
var $printButton = framework._.sfCommon.createButton('print', true); var $printButton = framework._.sfCommon.createButton('print', true);
$printButton.click(function () { $printButton.click(function () {
editor.execCommand('print'); editor.execCommand('print');

Loading…
Cancel
Save