lint compliance

pull/1/head
ansuz 4 years ago
parent 5f99dad482
commit fb2566a75a

@ -712,14 +712,14 @@ define([
var href = el.getAttribute('href');
if (/^#/.test(href)) {
try {
$inner.find('.cke_anchor[data-cke-realelement]').each(function (i, el) {
$inner.find('.cke_anchor[data-cke-realelement]').each(function (j, el) {
var i = editor.restoreRealElement($(el));
var node = i.$;
if (node.id === href.slice(1)) {
el.scrollIntoView();
}
});
} catch (e) {}
} catch (err) {}
return;
}
if (href) {

Loading…
Cancel
Save