showArticleInHeadlines: abort when row is missing

This commit is contained in:
Andrew Dolgov 2007-10-10 13:09:09 +01:00
parent dff94f6369
commit 76283a4c15
1 changed files with 3 additions and 0 deletions

View File

@ -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", "");