aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/assets/js/menu.coffee
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main/assets/js/menu.coffee')
-rw-r--r--app/src/main/assets/js/menu.coffee2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/main/assets/js/menu.coffee b/app/src/main/assets/js/menu.coffee
index 8072eeab..384496f7 100644
--- a/app/src/main/assets/js/menu.coffee
+++ b/app/src/main/assets/js/menu.coffee
@@ -12,7 +12,7 @@ y = new MutationObserver((mutations) ->
)
y.observe viewport, attributes: true
y.observe root, attributes: true
-x = new MutationObserver((mutations) ->
+x = new MutationObserver(() ->
menu = document.querySelector(".mSideMenu")
if menu != null
x.disconnect()