precache_headlines: fix typo which caused 2 requests of same feed

This commit is contained in:
Andrew Dolgov 2012-07-11 00:29:36 +04:00
parent 8514e925ab
commit 0670a2a71d

View file

@ -2083,7 +2083,7 @@ function precache_headlines() {
if (nuf && !cache_get("feed:" + nuf + ":" + activeFeedIsCat()))
viewfeed(nuf, '', activeFeedIsCat(), 0, true);
if (nf != nuf && nf && !cache_get("feed:" + nf[0] + ":" + nf[1]))
if (nf && nf[0] != nuf && !cache_get("feed:" + nf[0] + ":" + nf[1]))
viewfeed(nf[0], '', nf[1], 0, true);
window.setTimeout(function() {