summaryrefslogtreecommitdiffstats
path: root/js/gui
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2015-09-03 20:49:46 +0200
committerBernhard Posselt <dev@bernhard-posselt.com>2015-09-03 20:50:31 +0200
commit6d2e6fb06a50a98f3f9d64c9be8b4d2aeff6521c (patch)
tree227e94b02633e79fdfc67d7849f3240caedee9c8 /js/gui
parente953c4d25ecb22127b479a6e647d09a8a6a72ab3 (diff)
fix #847
Diffstat (limited to 'js/gui')
-rw-r--r--js/gui/KeyboardShortcuts.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/gui/KeyboardShortcuts.js b/js/gui/KeyboardShortcuts.js
index ffa5d88a9..abf75dfdf 100644
--- a/js/gui/KeyboardShortcuts.js
+++ b/js/gui/KeyboardShortcuts.js
@@ -303,7 +303,7 @@
// is on the top, it should be expanded instead of the next one
if ((item.position().top === 0 && expandItemInCompact &&
!item.hasClass('open')) ||
- item.position().top > 1) {
+ item.position().top > 10) {
scrollToItem(scrollArea, item, expandItemInCompact);
jumped = true;
@@ -467,4 +467,4 @@
}
});
-}(window, document, $)); \ No newline at end of file
+}(window, document, $));