HomePhabricator

Fix race condition in WMA tracking

Authored by MaxSem.

Description

Fix race condition in WMA tracking

The script that adds globe buttons is loaded asynchronously and is usually absent when our
code sets its event handlers. Also, while I'm at it, rename track() to doTrack() because
the former makes Firebug go bonkers.

Bug: T107327
Change-Id: If093e4d78886bc249646194c00d1f04daf32eba1
(cherry picked from commit b7ef2e130f7761cdb4fd0f7b16dfa1865b5688ed)

Details

Committed
MaxSemAug 4 2015, 11:34 PM
Parents
rEWMV8e00646f9916: Creating new wmf/1.26wmf17 branch
Branches
Unknown
Tags
Unknown
References
refs/changes/82/229282/1
ChangeId
If093e4d78886bc249646194c00d1f04daf32eba1