toggleUnread: remove scriptaculous highlight

master
Andrew Dolgov 12 years ago
parent 12a80ad5cc
commit ffd3e8e35e

@ -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");
}

Loading…
Cancel
Save