toggleUnread: remove scriptaculous highlight

This commit is contained in:
Andrew Dolgov 2013-03-29 19:51:58 +04:00
parent 12a80ad5cc
commit ffd3e8e35e
1 changed files with 0 additions and 12 deletions

View File

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