18cbdfb49b
We were clearing the counter on the window title in the blur event, which gets fired *after* we switch away, thus triggering Firefox to mark the tab as updated again. Clearing the counter on *focus* instead avoids this, and keeps the counter out of the way as well. |
||
---|---|---|
.. | ||
locale | ||
README | ||
RealtimePlugin.php | ||
realtimeupdate.css | ||
realtimeupdate.js | ||
realtimeupdate.min.js |
== TODO == * i18n * Update mark behaviour (on notice send) * Pause, Send a notice ~ should not update counter * Pause ~ retain up to 50-100 most recent notices * Add geo data * Make it work for Conversation page (perhaps a little tricky) * IE is updating the counter in document title all the time (Not sure if this is still an issue) * Reconsider the timestamp approach