view: always show article in headlines, even when loading is required

This commit is contained in:
Andrew Dolgov 2008-05-22 06:40:57 +01:00
parent a7764e5105
commit 3f70f90ffe
1 changed files with 2 additions and 2 deletions

View File

@ -435,6 +435,8 @@ function view(id, feed_id, skip_history) {
query = query + "&csync=true"; query = query + "&csync=true";
} }
showArticleInHeadlines(id);
if (!cached_article) { if (!cached_article) {
notify_progress("Loading, please wait..."); notify_progress("Loading, please wait...");
@ -443,14 +445,12 @@ function view(id, feed_id, skip_history) {
query = query + "&mode=prefetch"; query = query + "&mode=prefetch";
showArticleInHeadlines(id);
render_article(cached_article); render_article(cached_article);
} else if (cached_article) { } else if (cached_article) {
query = query + "&mode=prefetch_old"; query = query + "&mode=prefetch_old";
render_article(cached_article); render_article(cached_article);
showArticleInHeadlines(id);
} }