1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-25 10:41:29 +00:00

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

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