From a6f9dd9c4b6cc4ddfbfe3c6b6d842c5cfe250767 Mon Sep 17 00:00:00 2001
From: Jan-Christoph Borchardt <hey@jancborchardt.net>
Date: Fri, 6 Jun 2014 12:22:31 +0200
Subject: [PATCH] fix apps without app-navigation

---
 core/js/js.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/core/js/js.js b/core/js/js.js
index d02dc6445f..fc8226a56f 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({
-- 
GitLab