]> git.wh0rd.org Git - tt-rss.git/commitdiff
mark article in headlines in view() to speed up keyboard navigation
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Fri, 12 Nov 2010 15:15:08 +0000 (18:15 +0300)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Fri, 12 Nov 2010 15:15:08 +0000 (18:15 +0300)
viewfeed.js

index f914cada0e82e208d72af6fbb22428873805bf8b..07fe859fa622fc1ccd35b86f73d39b6e650a959a 100644 (file)
@@ -338,7 +338,7 @@ function article_callback2(transport, id) {
                                return;
                        }
 
-                       active_post_id = id; 
+//                     active_post_id = id; 
 
                        //console.log("looking for articles to cache...");
 
@@ -358,7 +358,7 @@ function article_callback2(transport, id) {
                        }
 
 
-                       showArticleInHeadlines(id);     
+//                     showArticleInHeadlines(id);     
 
                        if (db) {
                                db.execute("UPDATE articles SET unread = 0 WHERE id = ?", [id]);
@@ -430,6 +430,7 @@ function view(id) {
                var crow = $("RROW-" + id);
                var article_is_unread = crow.className.match("Unread");
 
+               active_post_id = id;
                showArticleInHeadlines(id);
 
                if (!cached_article) {