Skip to content

Commit

Permalink
close navigation menu when opening app in new tab (#23914)
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristophWurst authored and DeepDiver1975 committed Apr 14, 2016
1 parent a2572ff commit 97d553b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions core/js/js.js
Original file line number Diff line number Diff line change
Expand Up @@ -1553,6 +1553,10 @@ function initCore() {
}
if(!event.ctrlKey) {
$app.addClass('app-loading');
} else {
// Close navigation when opening app in
// a new tab
OC.hideMenus();
}
});
}
Expand Down

0 comments on commit 97d553b

Please sign in to comment.