forked from 0x2620/pandora
ignore TypeError: Attempted to assign to readonly property.
This commit is contained in:
parent
243c1958c1
commit
8c39aa37d0
1 changed files with 3 additions and 0 deletions
|
@ -22,6 +22,9 @@ appPanel
|
|||
(function() {
|
||||
|
||||
window.onerror = function(error, url, line) {
|
||||
if(error == 'TypeError: Attempted to assign to readonly property.') {
|
||||
return
|
||||
}
|
||||
try {
|
||||
!isMSIE && !/^resource:/.test(url) && pandora.api.logError({
|
||||
text: error,
|
||||
|
|
Loading…
Reference in a new issue