File "cyarb-admin.js"

Full Path: /home/flipjqml/onlinebetsolution.com/wp-content/themes/cyarb/assets/js/cyarb-admin.js
File size: 432 bytes
MIME-type: text/plain
Charset: utf-8

;(function($){
    "use strict";
    // Hook into the "notice-my-class" class we added to the notice, so
    // Only listen to YOUR notices being dismissed
    $(document).ready( function() {
        $('.cyarb-purchase-notice .notice-dismiss').on('click', function() {
            let url = new URL(location.href);
            url.searchParams.append('dismissed', 1);
            location.href = url;
        })
    });

})(jQuery);