diff options
author | Thomas Tanghus <thomas@tanghus.net> | 2012-05-04 09:53:36 +0200 |
---|---|---|
committer | Thomas Tanghus <thomas@tanghus.net> | 2012-05-04 09:53:36 +0200 |
commit | 27da29525a8e73abf0eebf495f258bbdc39ddcc1 (patch) | |
tree | 80cb4a0e531cb0e5a4123cd2a91a5e32bc9c252d /core/js | |
parent | 8d1754041ed4e6b82d8a08e63a7d002cdf3480c8 (diff) | |
download | nextcloud-server-27da29525a8e73abf0eebf495f258bbdc39ddcc1.tar.gz nextcloud-server-27da29525a8e73abf0eebf495f258bbdc39ddcc1.zip |
Made the global settings icon accessable via keyboard.
Bug http://bugs.owncloud.org/thebuggenie/owncloud/issues/oc-561
Diffstat (limited to 'core/js')
-rw-r--r-- | core/js/js.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/core/js/js.js b/core/js/js.js index f697f2b8537..7585d4b09d1 100644 --- a/core/js/js.js +++ b/core/js/js.js @@ -419,6 +419,11 @@ $(document).ready(function(){ } }); + $('#settings #expand').keydown(function(event) { + if (event.which == 13 || event.which == 32) { + $('#expand').click() + } + }); $('#settings #expand').click(function(event) { $('#settings #expanddiv').slideToggle(); event.stopPropagation(); |