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

Details

Committed
MaxSemAug 3 2015, 9:56 PM
Parents
rEWMVd0d3cc54cb05: Track Wikivoyage maps usage
Branches
Unknown
Tags
Unknown
References
refs/changes/94/228994/1
ChangeId
If093e4d78886bc249646194c00d1f04daf32eba1