From 118f41806fec499475659c7af53d75b6b87ab887 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 31 Jan 2012 16:01:43 +0400 Subject: [PATCH] do not try to load feedlist before receiving init-params --- js/tt-rss.js | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/js/tt-rss.js b/js/tt-rss.js index 2cee8ae3..5804ee50 100644 --- a/js/tt-rss.js +++ b/js/tt-rss.js @@ -283,16 +283,6 @@ function init() { dojo.parser.parse(); - dojo.addOnLoad(function() { - updateFeedList(); - closeArticlePanel(); - - if (typeof themeAfterLayout == 'function') { - themeAfterLayout(); - } - - }); - if (!genericSanityCheck()) return false; @@ -314,6 +304,15 @@ function init() { function init_second_stage() { try { + dojo.addOnLoad(function() { + updateFeedList(); + closeArticlePanel(); + + if (typeof themeAfterLayout == 'function') { + themeAfterLayout(); + } + + }); delCookie("ttrss_test"); -- 2.39.5