summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2016-05-04 17:48:00 +0200
committerBernhard Posselt <dev@bernhard-posselt.com>2016-05-04 17:48:00 +0200
commit77380713613dbb146e13f215b33ebece43e3752c (patch)
tree4184c984d421217feb7b05a94c4f921dca3144c0
parent53ab5bf838cee85b4795826457cc9711b8014b4d (diff)
Do not expand in non expand mode8.7.4
-rw-r--r--js/gui/KeyboardShortcuts.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/gui/KeyboardShortcuts.js b/js/gui/KeyboardShortcuts.js
index b4690710c..c90f3bc70 100644
--- a/js/gui/KeyboardShortcuts.js
+++ b/js/gui/KeyboardShortcuts.js
@@ -291,7 +291,7 @@
var activeElement = getActiveElement(scrollArea);
// in expand in compact mode, jumping to the next item should open
// the current one if it's not open yet
- if (!activeElement.hasClass('open')) {
+ if (expandItemInCompact && !activeElement.hasClass('open')) {
activeElement.find('.utils').trigger('click');
} else {
var nextElement = activeElement.next();