Twice faster and shorter.

This commit is contained in:
Nicolas Stepien 2011-12-27 21:16:45 +01:00
parent 691395b627
commit f221b09f63
2 changed files with 2 additions and 2 deletions

View File

@ -972,7 +972,7 @@
}
break;
case conf.unreadCountTo0:
unread.replies.length = 0;
unread.replies = [];
unread.updateTitle();
Favicon.update();
break;

View File

@ -709,7 +709,7 @@ keybinds =
else
$('.postarea form').submit()
when conf.unreadCountTo0
unread.replies.length = 0
unread.replies = []
unread.updateTitle()
Favicon.update()
else