dismissArticle: check if target element exists
This commit is contained in:
parent
1f3f503dc1
commit
0db3db2e37
|
@ -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});
|
||||
|
|
Loading…
Reference in New Issue