Skip to content
This repository has been archived by the owner on Jul 6, 2020. It is now read-only.

Commit

Permalink
Do not expand in non expand mode
Browse files Browse the repository at this point in the history
  • Loading branch information
Bernhard Posselt committed May 4, 2016
1 parent 53ab5bf commit 7738071
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/gui/KeyboardShortcuts.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 7738071

Please sign in to comment.