← Back
Editing: preview.min.js
jQuery(document).ready(function(){function t(e){for(var i=document.cookie.split("; "),t=0;t<i.length;t++){var o=i[t].split("=");if(e==o[0])return unescape(o[1])}return null}t("dismissed-notifications")&&jQuery(t("dismissed-notifications")).hide(),jQuery(".hidenotice").on("click",function(){var e=jQuery(this).closest(".preview_notice").attr("id"),e=t("dismissed-notifications")+",#"+e,i=(jQuery(this).closest(".preview_notice").slideToggle("slow"),"dismissed-notifications"),e=e.replace("null,","");document.cookie=i+"="+escape(e),(i=new Date).setMonth(i.getMonth()+1),document.cookie+="; expires="+i.toUTCString()}),jQuery("#browser_size_info").text("Viewport ( Width : "+jQuery(window).width()+"px , Height :"+jQuery(window).height()+"px )"),jQuery(window).on("resize",function(){jQuery("#browser_size_info").text("Viewport ( Width : "+jQuery(window).width()+"px , Height :"+jQuery(window).height()+"px )")})});
Save File
Cancel