%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/tradesc/www/relax/wp-content/plugins/bdthemes-element-pack-lite/admin/assets/js/
Upload File :
Create Path :
Current File : /home/tradesc/www/relax/wp-content/plugins/bdthemes-element-pack-lite/admin/assets/js/ep-notice.js

jQuery(document).ready(function ($) {
    $('.element-pack-notice.is-dismissible .notice-dismiss').on('click', function () {
        $this = $(this).parents('.element-pack-notice');
        var $id = $this.attr('id') || '';
        var $time = $this.attr('dismissible-time') || '';
        var $meta = $this.attr('dismissible-meta') || '';
        $.ajax({
            url: ajaxurl,
            type: 'POST',
            data: {
                action: 'element-pack-notices',
                id: $id,
                meta: $meta,
                time: $time,
                _wpnonce: ElementPackNoticeConfig.nonce
            }
        });
    });

    //temp remove after blackfriday
    $('.element-pack-notice.is-dismissible .bdt-button-allow').on('click', function () {
        $this = $(this).parents('.element-pack-notice');
        var $id = $this.attr('id') || '';
        var $time = 259200259200;
        var $meta = $this.attr('dismissible-meta') || '';
        $.ajax({
            url: ajaxurl,
            type: 'POST',
            data: {
                action: 'element-pack-notices',
                id: $id,
                meta: $meta,
                time: $time,
                _wpnonce: ElementPackNoticeConfig.nonce
            }
        });
    });
});

Zerion Mini Shell 1.0