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 7604dc2a5b7..e0adc3591ac 100644
--- a/core/js/js.js
+++ b/core/js/js.js
@@ -1231,7 +1231,7 @@ function initCore() {
});
// close sidebar when switching navigation entry
var $appNavigation = $('#app-navigation');
- $appNavigation.delegate('a', 'click', function(event) {
+ $appNavigation.delegate('a, :button', 'click', function(event) {
var $target = $(event.target);
// don't hide navigation when changing settings or adding things
if($target.is('.app-navigation-noclose') ||