aboutsummaryrefslogtreecommitdiffstats
path: root/core/js/js.js
diff options
context:
space:
mode:
Diffstat (limited to 'core/js/js.js')
-rw-r--r--core/js/js.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/js/js.js b/core/js/js.js
index c0e5324a8d4..bc4d135f9a7 100644
--- a/core/js/js.js
+++ b/core/js/js.js
@@ -1140,7 +1140,7 @@ function initCore() {
setupMainMenu();
// just add snapper for logged in users
- if($('#body-login, #body-public').length === 0) {
+ if($('#app-navigation').length) {
// App sidebar on mobile
var snapper = new Snap({