dismissArticle: check if target element exists

master
Andrew Dolgov 12 years ago
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…
Cancel
Save