]> git.wh0rd.org - tt-rss.git/commitdiff
add headlines-spacer to auto cached headlines
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Fri, 4 Nov 2011 07:19:50 +0000 (11:19 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Fri, 4 Nov 2011 07:19:50 +0000 (11:19 +0400)
viewfeed.js

index daaf57aafaf4939c0ea385a612749909a111678e..29bda143651bf2b58af09cb94e020731a5a2cdeb 100644 (file)
@@ -41,7 +41,7 @@ function headlines_callback2(transport, offset, background) {
                        feed_id = reply['headlines']['id'];
 
                        if (background) {
-                               cache_headlines(feed_id, is_cat, reply['headlines']['toolbar'], reply['headlines']['content']);
+                               cache_headlines(feed_id, is_cat, reply['headlines']['toolbar'], reply['headlines']['content'] + "<div id='headlines-spacer'></div>");
                                return;
                        }