Base: Fix race condition with $.mobile.document availability
Base: Fix race condition with $.mobile.document availability

PeteBa/OpenSprinkler-App,PeteBa/OpenSprinkler-App,PeteBa/OpenSprinkler-App,OpenSprinkler/OpenSprinkler-App,OpenSprinkler/OpenSprinkler-App,OpenSprinkler/OpenSprinkler-App