Merge branch 'staging' into reminders

pull/1/head
yflory 2021-04-13 15:24:47 +02:00
commit b165da7591
1 changed files with 2 additions and 2 deletions

View File

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