]> git.wh0rd.org Git - tt-rss.git/commitdiff
view: always show article in headlines, even when loading is required
authorAndrew Dolgov <fox@madoka.spb.ru>
Thu, 22 May 2008 05:40:57 +0000 (06:40 +0100)
committerAndrew Dolgov <fox@madoka.spb.ru>
Thu, 22 May 2008 05:40:57 +0000 (06:40 +0100)
viewfeed.js

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