mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-14 08:25:54 +00:00
view: always show article in headlines, even when loading is required
This commit is contained in:
@@ -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);
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user