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];
if (!data) { return; }
if (Array.isArray(data.tags) && containsSearchedTag(data.tags)) {
res.push(id);
} else
var title = data.title || data.lastTitle
return void res.push(id);
}
var title = data.title || data.lastTitle;
if ((title && title.toLowerCase().indexOf(lValue) !== -1) ||
(data.filename && data.filename.toLowerCase().indexOf(lValue) !== -1)) {
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);
$printButton.click(function () {
editor.execCommand('print');

Loading…
Cancel
Save