jQuery(document).ready(function($){$("div.envira-notice").on("click",".notice-dismiss",function(i){i.preventDefault(),$(this).closest("div.envira-notice").fadeOut(),$(this).parent().hasClass("is-dismissible")&&$.post(envira_gallery_admin.ajax,{action:"envira_gallery_ajax_dismiss_notice",nonce:envira_gallery_admin.dismiss_notice_nonce,notice:$(this).parent().data("notice"),seconds:$(this).parent().data("seconds")},function(i){},"json")})});