@ -578,7 +578,7 @@ define([
// Scroll into view
if (!$last.length) { return; }
var visible = UIElements.isVisible($last[0], Env.$inner);
var visible = UIElements.isVisible($last[0], Env.$contentContainer);
if (!visible) { $last[0].scrollIntoView(); }
};
@ -908,7 +908,7 @@ define([
$(a).click(function (e) {
e.preventDefault();
e.stopPropagation();
if (!obj.el || UIElements.isVisible(obj.el, $inner)) { return; }
if (!obj.el || UIElements.isVisible(obj.el, $contentContainer)) { return; }
obj.el.scrollIntoView();
});
a.innerHTML = title;