diff options
| author | Andrew Dolgov <fox@madoka.volgo-balt.ru> | 2012-01-31 16:01:43 +0400 |
|---|---|---|
| committer | Andrew Dolgov <fox@madoka.volgo-balt.ru> | 2012-01-31 16:01:43 +0400 |
| commit | 118f41806fec499475659c7af53d75b6b87ab887 (patch) | |
| tree | d161399113b8393ea0c80c3d72239a11b4a19687 /js | |
| parent | 983702546ec6aed75172f16467341c16de0492ee (diff) | |
do not try to load feedlist before receiving init-params
Diffstat (limited to 'js')
| -rw-r--r-- | js/tt-rss.js | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/js/tt-rss.js b/js/tt-rss.js index 2cee8ae3c..5804ee501 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"); |