lint compliance

pull/1/head
yflory 4 years ago
parent b9cacc5c94
commit f1e6874eeb

@ -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