From 76283a4c15a762fe307ab98bb0bfb424f575fd84 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 10 Oct 2007 13:09:09 +0100 Subject: [PATCH] showArticleInHeadlines: abort when row is missing --- viewfeed.js | 3 +++ 1 file changed, 3 insertions(+) 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", ""); -- 2.39.5