|
1
|
|
-jQuery(document).ready(function(e){let t=e(".fframe_handheld");function n(){const t=parseInt(e("#fc_server_timestamp").data("timestamp")),n=new Date(1e3*t),s=n.getUTCFullYear()+"-"+("0"+(n.getUTCMonth()+1)).slice(-2)+"-"+("0"+n.getUTCDate()).slice(-2)+" "+("0"+(n.getUTCHours()%12||12)).slice(-2)+":"+("0"+n.getUTCMinutes()).slice(-2)+(n.getUTCHours()<12?" am":" pm");e("#fc_server_timestamp").text("Server Time: "+s),e("#fc_server_timestamp").data("timestamp",t+60)}t.on("click",function(){e(this).toggleClass("fframe_handheld_open"),e(this).closest(".warp").find(".fframe_menu_small_screen").toggleClass("fframe_menu_small_screen_open")}),e(".fframe_menu_item a").on("click",function(){t.removeClass("fframe_handheld_open"),e(this).closest(".warp").find(".fframe_menu_small_screen").removeClass("fframe_menu_small_screen_open")}),jQuery(".update-nag,.notice, #wpbody-content > .updated, #wpbody-content > .error").remove(),n(),setInterval(n,6e4),function(){let e=!1;try{const t=Object.defineProperty({},"passive",{get:function(){e=!0}});window.addEventListener("test",null,t),window.removeEventListener("test",null,t)}catch(t){}if(e){const e=EventTarget.prototype.addEventListener,t=["scroll","wheel","touchstart","touchmove","touchenter","touchend","touchleave","mouseout","mouseleave","mouseup","mousedown","mousemove","mouseenter","mousewheel","mouseover"];EventTarget.prototype.addEventListener=function(n,s,o){const a=o&&o.capture,r=o?Object.assign({},o):{};r.passive=o&&void 0!==o.passive?o.passive:-1!==t.indexOf(n)&&!0,r.capture=void 0!==a&&a,e.call(this,n,s,r)},EventTarget.prototype.addEventListener._original=e}}()}); |
|
1
|
+jQuery(document).ready(function(e){function t(){const t=parseInt(e("#fc_server_timestamp").data("timestamp")),o=new Date(1e3*t),n=o.getUTCFullYear()+"-"+("0"+(o.getUTCMonth()+1)).slice(-2)+"-"+("0"+o.getUTCDate()).slice(-2)+" "+("0"+(o.getUTCHours()%12||12)).slice(-2)+":"+("0"+o.getUTCMinutes()).slice(-2)+(o.getUTCHours()<12?" am":" pm");e("#fc_server_timestamp").text("Server Time: "+n),e("#fc_server_timestamp").data("timestamp",t+60)}jQuery(".update-nag,.notice, #wpbody-content > .updated, #wpbody-content > .error").remove(),t(),setInterval(t,6e4),function(){let e=!1;try{const t=Object.defineProperty({},"passive",{get:function(){e=!0}});window.addEventListener("test",null,t),window.removeEventListener("test",null,t)}catch(t){}if(e){const e=EventTarget.prototype.addEventListener,t=["scroll","wheel","touchstart","touchmove","touchenter","touchend","touchleave","mouseout","mouseleave","mouseup","mousedown","mousemove","mouseenter","mousewheel","mouseover"];EventTarget.prototype.addEventListener=function(o,n,s){const r=s&&s.capture,a=s?Object.assign({},s):{};a.passive=s&&void 0!==s.passive?s.passive:-1!==t.indexOf(o)&&!0,a.capture=void 0!==r&&r,e.call(this,o,n,a)},EventTarget.prototype.addEventListener._original=e}}()}); |