]> git.wh0rd.org - tt-rss.git/blobdiff - viewfeed.js
add headlines-spacer to auto cached headlines
[tt-rss.git] / 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;
                        }