remove splash before freshfeed is loaded

This commit is contained in:
Andrew Dolgov 2013-05-02 09:48:38 +04:00
parent 566417c4e7
commit ea18cceaca
3 changed files with 4 additions and 4 deletions

View File

@ -151,6 +151,8 @@ function feedlist_init() {
try { try {
console.log("in feedlist init"); console.log("in feedlist init");
loading_set_progress(50);
document.onkeydown = hotkey_handler; document.onkeydown = hotkey_handler;
setTimeout("hotkey_prefix_timeout()", 5*1000); setTimeout("hotkey_prefix_timeout()", 5*1000);

View File

@ -249,7 +249,7 @@ function init() {
if (!genericSanityCheck()) if (!genericSanityCheck())
return false; return false;
loading_set_progress(20); loading_set_progress(30);
var a = document.createElement('audio'); var a = document.createElement('audio');
@ -573,7 +573,7 @@ function init_second_stage() {
setActiveFeedId(hash_feed_id, hash_feed_is_cat); 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 // can't use cache_clear() here because viewfeed might not have initialized yet
if ('sessionStorage' in window && window['sessionStorage'] !== null) if ('sessionStorage' in window && window['sessionStorage'] !== null)

View File

@ -20,8 +20,6 @@ function headlines_callback2(transport, offset, background, infscroll_req) {
try { try {
handle_rpc_json(transport); handle_rpc_json(transport);
loading_set_progress(25);
console.log("headlines_callback2 [offset=" + offset + "] B:" + background + " I:" + infscroll_req); console.log("headlines_callback2 [offset=" + offset + "] B:" + background + " I:" + infscroll_req);
var is_cat = false; var is_cat = false;