From ffd3e8e35ed731440d15465dff20fb64342280fc Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 29 Mar 2013 19:51:58 +0400 Subject: [PATCH] toggleUnread: remove scriptaculous highlight --- js/viewfeed.js | 12 ------------ 1 file changed, 12 deletions(-) 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"); } -- 2.39.5