mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-21 02:31:29 +00:00
headline cache fixes
This commit is contained in:
10
viewfeed.js
10
viewfeed.js
@@ -105,7 +105,15 @@ function headlines_callback2(transport, active_feed_id, is_cat, feed_cur_page) {
|
||||
if (headlines) {
|
||||
f.innerHTML = headlines.firstChild.nodeValue;
|
||||
|
||||
cache_inject("F:" + active_feed_id,
|
||||
var cache_prefix = "";
|
||||
|
||||
if (is_cat) {
|
||||
cache_prefix = "C:";
|
||||
} else {
|
||||
cache_prefix = "F:";
|
||||
}
|
||||
|
||||
cache_inject(cache_prefix + active_feed_id,
|
||||
headlines.firstChild.nodeValue, headlines_unread);
|
||||
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user