]> git.mxchange.org Git - quix0rs-gnu-social.git/commit
Ticket #2913: Realtime background update marker no longer triggers false positives...
authorBrion Vibber <brion@pobox.com>
Wed, 1 Dec 2010 01:09:14 +0000 (01:09 +0000)
committerBrion Vibber <brion@pobox.com>
Wed, 1 Dec 2010 01:09:14 +0000 (01:09 +0000)
commit18cbdfb49bc2025768b51db7899c897ecadb7072
treec0b19100a9ae2327cddef676d17d25c7e416ee90
parentc6f5975554db8421bebe52f9d17b5e4801d0a5bc
Ticket #2913: Realtime background update marker no longer triggers false positives when clearing the marker on switching away from the tab in Firefox 4

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.
plugins/Realtime/realtimeupdate.js
plugins/Realtime/realtimeupdate.min.js