1(function ($) { 2 var WidgetElements_DynamicCountdownHandler = function ($scope, $) { 3 var elementSettings = dceGetElementSettings($scope); 4 var id_scope = $scope.attr("data-id"); 5 var target = 6 ".elementor-element-" + id_scope + " .elementor-countdown-wrapper"; 7 8 if (elementSettings.dynamic_due_date) { 9 var dynamic_due_date = elementSettings.dynamic_due_date; 10 $(target).attr("data-date", dayjs(dynamic_due_date).unix()); // Convert datetime to timestamp 11 } 12 }; 13 14 $(window).on("elementor/frontend/init", function () { 15 elementorFrontend.hooks.addAction( 16 "frontend/element_ready/countdown.default", 17 WidgetElements_DynamicCountdownHandler, 18 ); 19 }); 20})(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.