From 77380713613dbb146e13f215b33ebece43e3752c Mon Sep 17 00:00:00 2001 From: Bernhard Posselt Date: Wed, 4 May 2016 17:48:00 +0200 Subject: Do not expand in non expand mode --- js/gui/KeyboardShortcuts.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- cgit v1.2.3