diff options
author | Hendrik Leppelsack <hendrik@leppelsack.de> | 2015-06-16 19:41:20 +0200 |
---|---|---|
committer | Hendrik Leppelsack <hendrik@leppelsack.de> | 2015-06-16 19:41:20 +0200 |
commit | e8507372e3ac3a0f3bd494633d646952c8f3bf8c (patch) | |
tree | 0727d71cf4fce0f2320b4e7857c0bd68eee263b7 /core/js/js.js | |
parent | de5c84580b55c2d1a491b835dea6c0e50579f5f8 (diff) | |
download | nextcloud-server-e8507372e3ac3a0f3bd494633d646952c8f3bf8c.tar.gz nextcloud-server-e8507372e3ac3a0f3bd494633d646952c8f3bf8c.zip |
let buttons hide the sidebar
Diffstat (limited to 'core/js/js.js')
-rw-r--r-- | core/js/js.js | 2 |
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') || |