aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/assets/js/menu.min.js
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2017-06-25 14:30:49 -0700
committerAllan Wang <me@allanwang.ca>2017-06-25 14:30:49 -0700
commitf35939ce42ca9244468434f93dbd705e02911623 (patch)
treef473434ce37f4844e288489452d1773c03511736 /app/src/main/assets/js/menu.min.js
parente502ea8cd77357c1e9a6680d912252524f2950f0 (diff)
downloadfrost-f35939ce42ca9244468434f93dbd705e02911623.tar.gz
frost-f35939ce42ca9244468434f93dbd705e02911623.tar.bz2
frost-f35939ce42ca9244468434f93dbd705e02911623.zip
Test kau update
Diffstat (limited to 'app/src/main/assets/js/menu.min.js')
-rw-r--r--app/src/main/assets/js/menu.min.js8
1 files changed, 5 insertions, 3 deletions
diff --git a/app/src/main/assets/js/menu.min.js b/app/src/main/assets/js/menu.min.js
index 0f218ea5..4627b847 100644
--- a/app/src/main/assets/js/menu.min.js
+++ b/app/src/main/assets/js/menu.min.js
@@ -1,14 +1,16 @@
-if(null!==document.querySelector("#mJewelNav")){
console.log("Fetching menu")
+
;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){
@@ -20,8 +22,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