]> git.wh0rd.org Git - tt-rss.git/commitdiff
remove splash before freshfeed is loaded
authorAndrew Dolgov <fox@fakecake.org>
Thu, 2 May 2013 05:48:38 +0000 (09:48 +0400)
committerAndrew Dolgov <fox@fakecake.org>
Thu, 2 May 2013 05:48:38 +0000 (09:48 +0400)
js/feedlist.js
js/tt-rss.js
js/viewfeed.js

index 2c1acc310be97cbca71c0d0df5dc739c4e24f8db..932297be8db2c37876d6d577d4fc3b84334c54d1 100644 (file)
@@ -151,6 +151,8 @@ function feedlist_init() {
        try {
                console.log("in feedlist init");
 
+               loading_set_progress(50);
+
                document.onkeydown = hotkey_handler;
                setTimeout("hotkey_prefix_timeout()", 5*1000);
 
index c6c0c13dd445177c7a6219992c3736e5f52e04a8..577922948f275e8ee35505598593e9b567cfd4ea 100644 (file)
@@ -249,7 +249,7 @@ function init() {
                if (!genericSanityCheck())
                        return false;
 
-               loading_set_progress(20);
+               loading_set_progress(30);
 
                var a = document.createElement('audio');
 
@@ -573,7 +573,7 @@ function init_second_stage() {
                        setActiveFeedId(hash_feed_id, hash_feed_is_cat);
                }
 
-               loading_set_progress(30);
+               loading_set_progress(50);
 
                // can't use cache_clear() here because viewfeed might not have initialized yet
                if ('sessionStorage' in window && window['sessionStorage'] !== null)
index ada225cbff79db627d9d0d64a7c2b33de4f5680b..3e78f4ca9decf5b12863b33bf3dab236ae05385b 100644 (file)
@@ -20,8 +20,6 @@ function headlines_callback2(transport, offset, background, infscroll_req) {
        try {
                handle_rpc_json(transport);
 
-               loading_set_progress(25);
-
                console.log("headlines_callback2 [offset=" + offset + "] B:" + background + " I:" + infscroll_req);
 
                var is_cat = false;