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/build/app.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'js/build/app.js') diff --git a/js/build/app.js b/js/build/app.js index ec26d6302..99bd0f100 100644 --- a/js/build/app.js +++ b/js/build/app.js @@ -2400,7 +2400,7 @@ app.service('SettingsResource', ["$http", "BASE_URL", function ($http, BASE_URL) // 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; @@ -2565,6 +2565,7 @@ app.service('SettingsResource', ["$http", "BASE_URL", function ($http, BASE_URL) }); }(window, document, $)); + window.News = window.News || {}; -- cgit v1.2.3