diff options
Diffstat (limited to 'app/src/main/assets/js/menu.min.js')
-rw-r--r-- | app/src/main/assets/js/menu.min.js | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/app/src/main/assets/js/menu.min.js b/app/src/main/assets/js/menu.min.js index 4627b847..ce878b88 100644 --- a/app/src/main/assets/js/menu.min.js +++ b/app/src/main/assets/js/menu.min.js @@ -1,16 +1,14 @@ -console.log("Fetching menu") - +if(!window.hasOwnProperty("frost_menu")){ +console.log("Registering frost_menu"),window.frost_menu=!0 ;var viewport=document.querySelector("#viewport"),root=document.querySelector("#root"),y=new MutationObserver(function(e){ viewport.removeAttribute("style"), root.removeAttribute("style") }) - ;y.observe(viewport,{ attributes:!0 }),y.observe(root,{ attributes:!0 }) - ;var x=new MutationObserver(function(e){ var o=document.querySelector(".mSideMenu") ;if(null!==o){ @@ -22,8 +20,8 @@ Frost.handleHtml(document.documentElement.outerHTML) },500) } }) - ;x.observe(document.querySelector("#mJewelNav"),{ childList:!0, subtree:!0 -}),document.querySelector("#bookmarks_jewel").querySelector("a").click();
\ No newline at end of file +}),document.querySelector("#bookmarks_jewel").querySelector("a").click() +}
\ No newline at end of file |