summaryrefslogtreecommitdiffstats
path: root/core/js
diff options
context:
space:
mode:
authorJan-Christoph Borchardt <hey@jancborchardt.net>2014-06-06 12:22:31 +0200
committerJan-Christoph Borchardt <hey@jancborchardt.net>2014-06-06 12:22:31 +0200
commita6f9dd9c4b6cc4ddfbfe3c6b6d842c5cfe250767 (patch)
treea535abf1c9b84efbb3a238de793d173b460c94e2 /core/js
parent23c83c076cdb3de039de7d1eafa2764247faefa4 (diff)
downloadnextcloud-server-a6f9dd9c4b6cc4ddfbfe3c6b6d842c5cfe250767.tar.gz
nextcloud-server-a6f9dd9c4b6cc4ddfbfe3c6b6d842c5cfe250767.zip
fix apps without app-navigation
Diffstat (limited to 'core/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 d02dc6445f2..fc8226a56fe 100644
--- a/core/js/js.js
+++ b/core/js/js.js
@@ -1133,7 +1133,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({