diff options
| author | Andrew Dolgov <fox@bah.spb.su> | 2007-10-10 13:09:09 +0100 |
|---|---|---|
| committer | Andrew Dolgov <fox@bah.spb.su> | 2007-10-10 13:09:09 +0100 |
| commit | 76283a4c15a762fe307ab98bb0bfb424f575fd84 (patch) | |
| tree | 7fc6a549068c114e825d17f90d122013e48a3fe3 /viewfeed.js | |
| parent | dff94f6369daefe7561d367fef8a9c75871da771 (diff) | |
showArticleInHeadlines: abort when row is missing
Diffstat (limited to 'viewfeed.js')
| -rw-r--r-- | viewfeed.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/viewfeed.js b/viewfeed.js index 6a20ae335..273e2d91b 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", ""); |