diff --git a/assets/javascripts/app/app.coffee b/assets/javascripts/app/app.coffee index c482c0d0..e8f083a2 100644 --- a/assets/javascripts/app/app.coffee +++ b/assets/javascripts/app/app.coffee @@ -56,10 +56,11 @@ tags: mode: if @DOC then 'single' else 'full' iframe: (window.top isnt window).toString() - shouldSendCallback: -> - if @isInjectionError() - @onInjectionError() - return false + shouldSendCallback: => + try + if @isInjectionError() + @onInjectionError() + return false true dataCallback: (data) -> try