Browse Source

Add iframe tag to JS errors

Thibaut 10 năm trước cách đây
mục cha
commit
485f218a9a
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      assets/javascripts/app/app.coffee

+ 1 - 0
assets/javascripts/app/app.coffee

@@ -55,6 +55,7 @@
           ignoreErrors: [/dpQuery/, /NPObject/]
           tags:
             mode: if @DOC then 'single' else 'full'
+            iframe: (window.top isnt window).toString()
         .install()
       @previousErrorHandler = onerror
       window.onerror = @onWindowError.bind(@)