diff --git a/assets/javascripts/app/app.coffee b/assets/javascripts/app/app.coffee index facf2d74..23940ff8 100644 --- a/assets/javascripts/app/app.coffee +++ b/assets/javascripts/app/app.coffee @@ -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) ->