Put Firefox app detection in try/catch

pull/220/head
Thibaut 10 years ago
parent f25d19a7dd
commit ac6a8880a1

@ -89,7 +89,7 @@
@hideLoading()
@welcomeBack() unless @doc
@removeEvent 'ready bootError'
navigator.mozApps?.getSelf().onsuccess = -> app.mozApp = true
try navigator.mozApps?.getSelf().onsuccess = -> app.mozApp = true catch
return
initDoc: (doc) ->

Loading…
Cancel
Save