showArticleInHeadlines: abort when row is missing
This commit is contained in:
parent
dff94f6369
commit
76283a4c15
1 changed files with 3 additions and 0 deletions
|
@ -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", "");
|
||||
|
|
Loading…
Reference in a new issue