From: Andrew Dolgov Date: Tue, 19 Feb 2008 15:13:40 +0000 (+0100) Subject: toggleUnread: enable effect for another cmode X-Git-Tag: 1.2.20~30 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=54eb7d20ddde709425e2370caff80c87e1db33ee;p=tt-rss.git toggleUnread: enable effect for another cmode --- diff --git a/viewfeed.js b/viewfeed.js index 2776aa52..2eef820e 100644 --- a/viewfeed.js +++ b/viewfeed.js @@ -822,10 +822,11 @@ function toggleUnread(id, cmode, effect) { } else if (cmode == 0) { row.className = nc; -/* if (effect) { + if (effect) { new Effect.Highlight(row, {duration: 1, startcolor: "#fff7d5", + afterFinish: toggleUnread_afh, queue: { position:'end', scope: 'TMRQ-' + id, limit: 1 } } ); - } */ + } } else if (cmode == 1) { row.className = nc + "Unread"; }