storage url o'zgartirildi
This commit is contained in:
@@ -49,6 +49,10 @@
|
||||
}
|
||||
}
|
||||
menu = document.querySelector('.main-menu-content');
|
||||
if (!activeEl || !menu) {
|
||||
this.obj.update();
|
||||
return;
|
||||
}
|
||||
activeEl = activeEl.getBoundingClientRect().top + menu.scrollTop;
|
||||
// If active element's top position is less than 2/3 (66%) of menu height than do not scroll
|
||||
if (activeEl > parseInt((menu.clientHeight * 2) / 3)) {
|
||||
|
||||
Reference in New Issue
Block a user