File manager - Edit - /home/antilam/web/antilam.ru/public_html/wp-content/themes/woodmart/js/scripts/elements/countDownTimer.min.js
Back
!function(e){woodmartThemeModule.$document.on("wdProductsTabsLoaded wdSearchFullScreenContentLoaded wdUpdateWishlist wdShopPageInit wdArrowsLoadProducts wdLoadMoreLoadProducts wdRecentlyViewedProductLoaded",function(){woodmartThemeModule.countDownTimer()}),e.each(["frontend/element_ready/wd_products.default","frontend/element_ready/wd_products_tabs.default","frontend/element_ready/wd_countdown_timer.default","frontend/element_ready/wd_single_product_countdown.default","frontend/element_ready/wd_banner.default","frontend/element_ready/wd_banner_carousel.default"],function(e,d){woodmartThemeModule.wdElementorAddAction(d,function(){woodmartThemeModule.countDownTimer()})}),woodmartThemeModule.countDownTimer=function(){e(".wd-timer").each(function(){var d=e(this),t=d.data("timezone")?d.data("timezone"):woodmart_settings.countdown_timezone;dayjs.extend(window.dayjs_plugin_utc),dayjs.extend(window.dayjs_plugin_timezone);var n=dayjs.tz(d.data("end-date"),t);d.countdown(n.toDate(),function(e){"yes"===d.data("hide-on-finish")&&"finish"===e.type&&d.parent().addClass("wd-hide"),d.find(".wd-timer-days .wd-timer-value").text(e.strftime("%-D")),d.find(".wd-timer-hours .wd-timer-value").text(e.strftime("%H")),d.find(".wd-timer-min .wd-timer-value").text(e.strftime("%M")),d.find(".wd-timer-sec .wd-timer-value").text(e.strftime("%S"))})})},e(document).ready(function(){woodmartThemeModule.countDownTimer()})}(jQuery);
| ver. 1.4 |
Github
|
.
| PHP 8.4.22 | Generation time: 0.12 |
proxy
|
phpinfo
|
Settings