| Server IP : 51.91.236.193 / Your IP : 216.73.216.224 Web Server : Apache System : Linux webm010.cluster128.gra.hosting.ovh.net 6.18.39-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Tue Jul 21 12:03:15 CEST 2026 x86_64 User : institutah ( 16501) PHP Version : 7.2.34 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/institutah/www/wp-content/plugins/yith-woocommerce-compare/plugin-fw/assets/js/ |
Upload File : |
(function ($) {
$(document).on('click', '.notice-dismiss', function () {
var t = $(this),
promo_wrapper = t.parent('div.yith-notice-is-dismissible'),
promo_id = promo_wrapper.attr('id');
if (typeof promo_id != 'undefined') {
var cname = 'hide_' + promo_id,
cvalue = 'yes',
expiry = promo_wrapper.data('expiry'),
expiry_date = new Date(expiry);
expiry_date.setUTCHours( 23 );
expiry_date.setUTCMinutes( 59 );
expiry_date.setUTCSeconds( 59 );
document.cookie = cname + "=" + cvalue + ";" + 'expires=' + expiry_date.toUTCString() + ";path=/";
}
});
})(jQuery);