summaryrefslogtreecommitdiff
path: root/viewfeed.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2008-02-19 16:13:40 +0100
committerAndrew Dolgov <[email protected]>2008-02-19 16:13:40 +0100
commit54eb7d20ddde709425e2370caff80c87e1db33ee (patch)
tree307eb1d67ebcaae168b4bcd3138f4a52e0f1922d /viewfeed.js
parent0df009c3b865c50412c9dec9557f08d8c9cedce2 (diff)
toggleUnread: enable effect for another cmode
Diffstat (limited to 'viewfeed.js')
-rw-r--r--viewfeed.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/viewfeed.js b/viewfeed.js
index 2776aa525..2eef820e8 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";
}