Sid Gifari File Manager
🏠 Root
/
home
/
ailwtbdh
/
public_html
/
wp-content
/
plugins
/
element-ready-lite
/
assets
/
js
/
widgets
/
Editing: er-price-tabs.js
!function(e){var n=function(e,n){if(e.find("#switch-toggle-tab").length){var t=n("#switch-toggle-tab label.switch"),o=(n("#switch-toggle-tab li"),e.find("#switch-toggle-tab li.month")),i=e.find("#switch-toggle-tab li.year"),a=e.find("#month"),l=e.find("#year");function s(){t.hasClass("on")?(l.hide(),a.show(),o.addClass("active"),i.removeClass("active")):(a.hide(),l.show(),i.addClass("active"),o.removeClass("active"))}a.show(),l.hide(),o.on("click",function(){return t.addClass("on").removeClass("off"),s(),!1}),i.on("click",function(){return t.addClass("off").removeClass("on"),s(),!1}),t.on("click",function(){t.toggleClass("on off"),s()})}};e(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/element-ready-toggle-pricing-tab.default",n)})}(jQuery);
Save
Cancel