From: Andrew Dolgov Date: Wed, 10 Oct 2007 12:09:09 +0000 (+0100) Subject: showArticleInHeadlines: abort when row is missing X-Git-Tag: 1.2.16~14 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=76283a4c15a762fe307ab98bb0bfb424f575fd84;p=tt-rss.git showArticleInHeadlines: abort when row is missing --- diff --git a/viewfeed.js b/viewfeed.js index 6a20ae33..273e2d91 100644 --- a/viewfeed.js +++ b/viewfeed.js @@ -213,6 +213,9 @@ function showArticleInHeadlines(id) { cleanSelected("headlinesList"); var crow = document.getElementById("RROW-" + id); + + if (!crow) return; + var article_is_unread = crow.className.match("Unread"); crow.className = crow.className.replace("Unread", "");