showArticleInHeadlines: abort when row is missing

master
Andrew Dolgov 17 years ago
parent dff94f6369
commit 76283a4c15

@ -213,6 +213,9 @@ function showArticleInHeadlines(id) {
cleanSelected("headlinesList"); cleanSelected("headlinesList");
var crow = document.getElementById("RROW-" + id); var crow = document.getElementById("RROW-" + id);
if (!crow) return;
var article_is_unread = crow.className.match("Unread"); var article_is_unread = crow.className.match("Unread");
crow.className = crow.className.replace("Unread", ""); crow.className = crow.className.replace("Unread", "");

Loading…
Cancel
Save