PATH:
home
/
thebhoeo
/
.trash
/
woodmart
/
js
/
scripts
/
global
!function(s){woodmartThemeModule.searchFullScreen=function(){woodmartThemeModule.$body.on("click",".wd-header-search.wd-display-full-screen > a, .wd-search-form.wd-display-full-screen-2",function(e){e.preventDefault();var e=s(this),r=s(".wd-search-full-screen-2");0<e.parent().find(".wd-search-dropdown").length||woodmartThemeModule.$body.hasClass("global-search-dropdown")||(n()?a():(e.hasClass("wd-display-full-screen-2")||(r=s(".wd-search-full-screen"),o()),setTimeout(function(){d(r)},10)))}),woodmartThemeModule.$body.on("click",".wd-close-search a, .wd-page-wrapper, .header-banner",function(e){!s(e.target).is(".wd-close-search a")&&s(e.target).closest(".wd-search-full-screen").length||(s(e.target).is(".wd-close-search a")&&e.preventDefault(),n()&&a())});var r=function(e){27===e.keyCode&&(a(),woodmartThemeModule.$body.unbind("keyup",r))},a=function(){var e=s("[class*=wd-search-full-screen]");s("html").removeClass("wd-search-opened"),e.removeClass("wd-opened"),e.removeClass("wd-searched"),e.trigger("wdCloseSearch")},o=function(){var e,r=s("#wpadminbar"),r=0<r.length?r.outerHeight():0,a=s(".whb-sticked"),o=s(".whb-main-header");0<a.length?e=0<s(".whb-clone").length?a.outerHeight()+r:o.outerHeight()+r:(e=o.outerHeight()+r,woodmartThemeModule.$body.hasClass("header-banner-display")&&(e+=s(".header-banner").outerHeight())),s(".wd-search-full-screen").css("top",e)},d=function(a){woodmartThemeModule.$body.on("keyup",r),s("html").addClass("wd-search-opened"),a.addClass("wd-opened"),a.trigger("wdOpenSearch"),setTimeout(function(){var e=a.find('input[type="text"]'),r=e.val().length;e[0].setSelectionRange(r,r),e.trigger("focus")},500)},n=function(){return s("html").hasClass("wd-search-opened")}},s(document).ready(function(){woodmartThemeModule.searchFullScreen()})}(jQuery);
[-] beforeSearchContent.js
[edit]
[-] parallax.js
[edit]
[-] scrollTop.min.js
[edit]
[-] floatingBlocks.min.js
[edit]
[-] searchHistory.min.js
[edit]
[-] hiddenSidebar.min.js
[edit]
[-] masonryLayout.js
[edit]
[-] stickyColumn.js
[edit]
[-] stickyColumn.min.js
[edit]
[-] helpers.min.js
[edit]
[-] stickySocialButtons.min.js
[edit]
[-] parallax.min.js
[edit]
[-] swiperInit.js
[edit]
[-] clearSearch.js
[edit]
[-] scrollTop.js
[edit]
[-] clearSearch.min.js
[edit]
[-] ageVerify.min.js
[edit]
[-] beforeSearchContent.min.js
[edit]
[-] stickySocialButtons.js
[edit]
[-] ajaxSearch.js
[edit]
[-] mfpPopup.js
[edit]
[-] lcpTracker.js
[edit]
[-] photoswipeImages.js
[edit]
[-] clickOnScrollButton.min.js
[edit]
[-] masonryLayout.min.js
[edit]
[-] css-animations.js
[edit]
[-] cookiesPopup.min.js
[edit]
[-] hiddenSidebar.js
[edit]
[-] widgetCollapse.min.js
[edit]
[-] cookiesPopup.js
[edit]
[-] animations.min.js
[edit]
[-] scrollBar.min.js
[edit]
[-] photoswipeImages.min.js
[edit]
[-] floatingBlocks.js
[edit]
[-] ajaxSearch.min.js
[edit]
[-] callPhotoSwipe.min.js
[edit]
[-] lazyLoading.js
[edit]
[-] backHistory.js
[edit]
[-] searchHistory.js
[edit]
[-] stickyContainer.js
[edit]
[+]
..
[-] css-animations.min.js
[edit]
[-] swiperInit.min.js
[edit]
[-] mfpPopup.min.js
[edit]
[-] lazyLoading.min.js
[edit]
[-] clickOnScrollButton.js
[edit]
[-] helpers.js
[edit]
[-] searchFullScreen.min.js
[edit]
[-] scrollBar.js
[edit]
[-] backHistory.min.js
[edit]
[-] animations.js
[edit]
[-] lcpTracker.min.js
[edit]
[-] btnsToolTips.min.js
[edit]
[-] searchFullScreen.js
[edit]
[-] widgetCollapse.js
[edit]
[-] stickyContainer.min.js
[edit]
[-] widgetsHidable.js
[edit]
[-] callPhotoSwipe.js
[edit]
[-] ageVerify.js
[edit]
[-] animationsOffset.js
[edit]
[-] widgetsHidable.min.js
[edit]
[-] animationsOffset.min.js
[edit]
[-] btnsToolTips.js
[edit]