From: Andrew Dolgov Date: Fri, 29 Mar 2013 15:51:58 +0000 (+0400) Subject: toggleUnread: remove scriptaculous highlight X-Git-Tag: 1.7.6~152 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=ffd3e8e35ed731440d15465dff20fb64342280fc;p=tt-rss.git toggleUnread: remove scriptaculous highlight --- diff --git a/js/viewfeed.js b/js/viewfeed.js index c030bf0c..3adfe5a9 100644 --- a/js/viewfeed.js +++ b/js/viewfeed.js @@ -635,12 +635,6 @@ function toggleUnread(id, cmode, effect) { if (row.hasClassName("Unread")) { row.removeClassName("Unread"); - if (effect) { - new Effect.Highlight(row, {duration: 1, startcolor: "#fff7d5", - afterFinish: toggleUnread_afh, - queue: { position:'end', scope: 'TMRQ-' + id, limit: 1 } } ); - } - } else { row.addClassName("Unread"); } @@ -649,12 +643,6 @@ function toggleUnread(id, cmode, effect) { row.removeClassName("Unread"); - 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.addClassName("Unread"); }