[Pkg-owncloud-commits] [owncloud] 08/205: let buttons hide the sidebar
David Prévot
taffit at moszumanska.debian.org
Thu Jul 2 17:36:48 UTC 2015
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch stable8
in repository owncloud.
commit e8507372e3ac3a0f3bd494633d646952c8f3bf8c
Author: Hendrik Leppelsack <hendrik at leppelsack.de>
Date: Tue Jun 16 19:41:20 2015 +0200
let buttons hide the sidebar
---
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 7604dc2..e0adc35 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') ||
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git
More information about the Pkg-owncloud-commits
mailing list