summaryrefslogtreecommitdiffstats
path: root/core/js/js.js
diff options
context:
space:
mode:
Diffstat (limited to 'core/js/js.js')
-rw-r--r--core/js/js.js5
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();