From 12d0d0f4e699fc6de228e5b4eb994276b34324a3 Mon Sep 17 00:00:00 2001 From: Bernhard Posselt Date: Sat, 12 Sep 2015 23:10:01 +0200 Subject: also make go to previous article shortcuts fuzzier, #847 --- js/gui/KeyboardShortcuts.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'js/gui') diff --git a/js/gui/KeyboardShortcuts.js b/js/gui/KeyboardShortcuts.js index abf75dfdf..d05856152 100644 --- a/js/gui/KeyboardShortcuts.js +++ b/js/gui/KeyboardShortcuts.js @@ -327,7 +327,7 @@ items.each(function (index, item) { item = $(item); - if (item.position().top >= 0) { + if ((item.position().top + 10) >= 0) { var previous = item.prev(); // if there are no items before the current one -- cgit v1.2.3