You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 lines
726 B
1 lines
726 B
!function(a){woodmartThemeModule.headerBanner=function(){var b=woodmart_settings.header_banner_version;if("closed"!==Cookies.get("woodmart_tb_banner_"+b)&&"no"!==woodmart_settings.header_banner_close_btn&&"no"!==woodmart_settings.header_banner_enabled){woodmartThemeModule.$body.hasClass("page-template-maintenance")||woodmartThemeModule.$body.addClass("header-banner-display"),a(".header-banner").on("click",".close-header-banner",function(a){a.preventDefault(),c()});var c=function(){woodmartThemeModule.$body.removeClass("header-banner-display").addClass("header-banner-hide"),Cookies.set("woodmart_tb_banner_"+b,"closed",{expires:60,path:"/"})}}},a(document).ready(function(){woodmartThemeModule.headerBanner()})}(jQuery); |