]> git.wh0rd.org Git - tt-rss.git/commitdiff
toggleUnread: enable effect for another cmode
authorAndrew Dolgov <fox@bah.spb.su>
Tue, 19 Feb 2008 15:13:40 +0000 (16:13 +0100)
committerAndrew Dolgov <fox@bah.spb.su>
Tue, 19 Feb 2008 15:13:40 +0000 (16:13 +0100)
viewfeed.js

index 2776aa52575f2c9514cbfdb8e5b2f0f8d25f1dbd..2eef820e88182bb86f6050885c09b0e00d9c0087 100644 (file)
@@ -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";
                        }