fix apps without app-navigation

This commit is contained in:
Jan-Christoph Borchardt 2014-06-06 12:22:31 +02:00
parent 23c83c076c
commit a6f9dd9c4b

View file

@ -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({