BossBey File Manager
PHP:
8.2.30
OS:
Linux
User:
imagivibe
Root
/
home
/
imagivibe
/
www
/
wp-content
/
themes
/
porto
/
js
📤 Upload
📝 New File
📁 New Folder
Close
Editing: edit-page.min.js
jQuery(document).ready((function(t){if(js_porto_vars.user_edit_pages){var e=function(e){[].slice.call(e.querySelectorAll(".pb-edit-link")).map((function(e){var i=e.getAttribute("data-title");if(e.nextSibling&&e.nextSibling.classList.contains("porto-block")){var o=e.nextSibling;o.classList.add("has-pb-edit");var a={html:!0,template:'<div class="tooltip porto-tooltip-wrap" role="tooltip"><div class="tooltip-inner"></div></div>',trigger:"manual",title:'<a href="'+e.getAttribute("data-link")+'"><i class="porto-icon-edit me-1"></i><span>'+i+"</span></a>"+(e.getAttribute("data-tracking-url")?'<a href="'+e.getAttribute("data-tracking-url")+'"><i class="porto-icon-edit me-1"></i>'+e.getAttribute("data-tracking-title")+"</a>":""),delay:300};e.getAttribute("data-builder-id")&&(a.container='[data-id="'+e.getAttribute("data-builder-id")+'"]');var n=new bootstrap.Tooltip(o,a);n&&n._element&&(!e.getAttribute("data-builder-type")||"block"==e.getAttribute("data-builder-type")&&0==t(o).height()?(n._element.addEventListener("mouseenter",(function(t){n._enter(t,n)})),n._element.addEventListener("mouseleave",(function(t){n._leave(t,n)}))):setTimeout((function(){n.show()}),1e3))}e.parentNode.removeChild(e)}))};e(document.body),t(".skeleton-loading").on("skeleton-loaded",(function(){e(this)})),t(document.body).on("mouseenter mouseleave",'.porto-tooltip-wrap[role="tooltip"]',(function(e){var i=t('.porto-block[aria-describedby="'+t(this).attr("id")+'"]');if(i.length&&t(this).parent("body").length){var o=bootstrap.Tooltip.getInstance(i.get(0));if(o)o["mouseenter"==e.type?"_enter":"_leave"](e,o)}})).on("porto_init_start",(function(t,i){i.classList.contains("porto-posts-grid")&&e(i)})),t(window).on("porto_posts_updated",(function(){e(document.body)}))}}));
Save
Cancel