dismissArticle: check if target element exists

This commit is contained in:
Andrew Dolgov 2013-03-31 21:58:05 +04:00
parent 1f3f503dc1
commit 0db3db2e37
1 changed files with 2 additions and 0 deletions

View File

@ -1536,6 +1536,8 @@ function dismissArticle(id) {
try {
var elem = $("RROW-" + id);
if (!elem) return;
toggleUnread(id, 0, true);
new Effect.Fade(elem, {duration : 0.5});