Skip to content
This repository has been archived by the owner on Dec 30, 2019. It is now read-only.

Commit

Permalink
fix pluralization bug
Browse files Browse the repository at this point in the history
  • Loading branch information
bgilmore committed Dec 8, 2010
1 parent a6f29a1 commit db419f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mailsink/static/sink.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jQuery.fn.extend({

function appBlur() {
messageListener = function() {
document.title = 'Mailsink (' + unreadMessages + ' new messages)';
document.title = 'Mailsink (' + unreadMessages + ' new ' + (unreadMessages == 1 ? 'message' : 'messages') + ')';
if (window.fluid)
window.fluid.dockBadge = String(unreadMessages);
}
Expand Down

0 comments on commit db419f8

Please sign in to comment.