]> git.wh0rd.org Git - tt-rss.git/commitdiff
cdmExpandArticle: bail out if id not present in buffer (closes #628)
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Mon, 25 Mar 2013 07:56:48 +0000 (11:56 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Mon, 25 Mar 2013 07:56:48 +0000 (11:56 +0400)
js/viewfeed.js

index e3db58035da28c911e3027610ee664b7b84a211f..ece1f1394e08c3a7bb737a1fe8cb6ec5e1dec35a 100644 (file)
@@ -1374,6 +1374,8 @@ function cdmExpandArticle(id) {
        try {
                console.log("cdmExpandArticle " + id);
 
+               if (!$("RROW-" + id)) return false;
+
                hideAuxDlg();
 
                var elem = $("CICD-" + getActiveArticleId());