PageSourceSearch

https://www.hubbardsmarina.com/wp-content/cache/min/1/wp-content/t…/assets/js/frontend/main.js?ver=1788981419

js hubbardsmarina.com collected 2026-09-24 17:51:21 UTC 1,463 bytes, 7 lines download raw bytes

1(function($){'use strict';function login_dropdown(){$('.site-header-account').mouseenter(function(){$('.account-dropdown',this).append($('.account-wrap'))})}
2function handleWindow(){var body=document.querySelector('body');if(window.innerWidth>body.clientWidth+5){body.classList.add('has-scrollbar');body.setAttribute('style','--scroll-bar: '+(window.innerWidth-body.clientWidth)+'px')}else{body.classList.remove('has-scrollbar')}}
3function minHeight(){var $body=$('body'),bodyHeight=$(window).outerHeight(),headerHeight=$('header.header-1').outerHeight(),footerHeight=$('footer.site-footer').outerHeight(),$adminBar=$('#wpadminbar');if($adminBar.length>0){headerHeight+=$adminBar.height()}
4if($body.find('header.header-1').length){$('.site-content').css({'min-height':bodyHeight-headerHeight-footerHeight-90})}}
5function setPositionLvN($item){var sub=$item.children('.sub-menu'),offset=$item.offset(),width=$item.outerWidth(),screen_width=$(window).width(),sub_width=sub.outerWidth();var align_delta=offset.left+width+sub_width-screen_width;if(align_delta>0){if($item.parents('.menu-item-has-children').length){sub.css({left:'auto',right:'100%'})}else{sub.css({left:'auto',right:'0'})}}else{sub.css({left:'',right:''})}}
6function initSubmenuHover(){$('.site-header .primary-navigation .menu-item-has-children').hover(function(event){var $item=$(event.currentTarget);setPositionLvN($item)})}
7initSubmenuHover();minHeight();handleWindow();login_dropdown()})(jQuery)

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.