PATH:
home
/
thebhoeo
/
.trash
/
woodmart
/
js
/
scripts
/
global
/* global woodmart_settings, woodmartThemeModule, Cookies, jQuery */ (function($) { woodmartThemeModule.ageVerify = function() { if ( typeof Cookies === 'undefined' ) { return; } if (woodmart_settings.age_verify !== 'yes' || Cookies.get('woodmart_age_verify') === 'confirmed') { return; } $.magnificPopup.open({ items : { src: '.wd-age-verify' }, type : 'inline', closeOnBgClick : false, closeBtnInside : false, showCloseBtn : false, enableEscapeKey: false, removalDelay : 600, closeMarkup : woodmart_settings.close_markup, tLoading : woodmart_settings.loading, fixedContentPos: true, callbacks : { beforeOpen: function() { this.wrap.addClass('wd-age-verify-wrap'); }, } }); $('.wd-age-verify-allowed').on('click', function(e) { e.preventDefault(); Cookies.set('woodmart_age_verify', 'confirmed', { expires: parseInt(woodmart_settings.age_verify_expires), path : '/', secure : woodmart_settings.cookie_secure_param }); $.magnificPopup.close(); }); $('.wd-age-verify-forbidden').on('click', function(e) { e.preventDefault(); $('.wd-age-verify').addClass('wd-forbidden'); }); }; $(document).ready(function() { woodmartThemeModule.ageVerify(); }); })(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]