summaryrefslogtreecommitdiffstats
path: root/js/gui/KeyboardShortcuts.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/gui/KeyboardShortcuts.js')
-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, $));