summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--js/tt-rss.js19
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");