|
1
|
|
-jQuery(document).ready((function(e){var t=e(".fframe_handheld");function n(){var t=parseInt(e("#fc_server_timestamp").data("timestamp")),n=new Date(1e3*t),r=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: "+r),e("#fc_server_timestamp").data("timestamp",t+60)}t.on("click",(function(){e(this).parent().find(".fframe_menu").toggleClass("fframe_menu_open")})),e(".fframe_menu_item a").on("click",(function(){t.parent().find(".fframe_menu").removeClass("fframe_menu_open")})),jQuery(".update-nag,.notice, #wpbody-content > .updated, #wpbody-content > .error").remove(),n(),setInterval(n,6e4),function(){var e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){e=!0}});window.addEventListener("test",null,t),window.removeEventListener("test",null,t)}catch(e){}if(e){var n=EventTarget.prototype.addEventListener,r=["scroll","wheel","touchstart","touchmove","touchenter","touchend","touchleave","mouseout","mouseleave","mouseup","mousedown","mousemove","mouseenter","mousewheel","mouseover"];EventTarget.prototype.addEventListener=function(e,t,a){var o=a&&a.capture,s=a?Object.assign({},a):{};s.passive=a&&void 0!==a.passive?a.passive:-1!==r.indexOf(e)&&!0,s.capture=void 0!==o&&o,n.call(this,e,t,s)},EventTarget.prototype.addEventListener._original=n}}()})); |
|
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}}()}); |