From 8c39aa37d05f56d486486359e9f2b94896a38d63 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Fri, 6 Feb 2015 11:02:19 +0530 Subject: [PATCH] ignore TypeError: Attempted to assign to readonly property. --- static/js/pandora.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/static/js/pandora.js b/static/js/pandora.js index ec807fb4..09fd67a3 100644 --- a/static/js/pandora.js +++ b/static/js/pandora.js @@ -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,