![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /proc/thread-self/cwd/wp-content/plugins/uicore-framework/includes/extra/javascript/ |
<?php defined("ABSPATH") || exit(); //INCLUDED IN CLASS JS $js .= " jQuery(function ($) { $('.uicore-cart-icon.uicore-link').click(function () { //continue only if the parent of this element is not a link if ($(this).parent().is('a')) { return; } $('body').addClass('uicore-cart-active'); }); $('#cart-wrapper').click(function () { $('body').removeClass('uicore-cart-active'); }); $('#uicore-cart-close').click(function () { $('body').removeClass('uicore-cart-active'); }); $('body').on('added_to_cart',function(){ $('body').addClass('uicore-cart-active'); $('.added_to_cart').hide(); }); }); ";