From 6d2e6fb06a50a98f3f9d64c9be8b4d2aeff6521c Mon Sep 17 00:00:00 2001 From: Bernhard Posselt Date: Thu, 3 Sep 2015 20:49:46 +0200 Subject: fix #847 --- js/gui/KeyboardShortcuts.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'js/gui/KeyboardShortcuts.js') 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, $)); -- cgit v1.2.3