BossBey File Manager
PHP:
8.2.30
OS:
Linux
User:
imagivibe
Root
/
home
/
imagivibe
/
www
/
CTR
/
wp-content
/
plugins
/
js_composer
/
modules
/
scroll-to-element
/
assets
/
dist
📤 Upload
📝 New File
📁 New Folder
Close
Editing: module.min.js
(()=>{function e(){var e,o,n=window.vc.latestAddedElement;n&&n.view&&n.view.el&&(n=n.view.el.getBoundingClientRect().top,e=document.getElementById("vc_inline-frame"),o=n+(window.scrollY||document.documentElement.scrollTop)-250,(e?(o=n+((n=e.contentWindow).scrollY||n.document.documentElement.scrollTop)-250,n):window).scrollTo({top:o,behavior:"smooth"}))}!window.vc_modules||window.vc_modules.hasOwnProperty("vc-scroll-to-element")&&!window.vc_modules["vc-scroll-to-element"]||("admin_frontend_editor"===window.vc_mode?vc.events.once("shortcodeView:ready",function(){vc.events.on("afterLoadShortcode",_.debounce(e,300)),vc.events.on("templateAdd",_.debounce(e,300))}):vc.events.on("shortcodeView:ready",_.debounce(e,300)))})();
Save
Cancel