view: always show article in headlines, even when loading is required
This commit is contained in:
parent
a7764e5105
commit
3f70f90ffe
|
@ -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);
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue