fix formatting

This commit is contained in:
rolux 2015-02-21 15:50:15 +05:30
parent 441cb9892a
commit 8f9d8e2ce2

View file

@ -22,8 +22,8 @@ appPanel
(function() { (function() {
window.onerror = function(error, url, line) { window.onerror = function(error, url, line) {
if(error == 'TypeError: Attempted to assign to readonly property.') { if (error == 'TypeError: Attempted to assign to readonly property.') {
return return;
} }
try { try {
!isMSIE && !/^resource:/.test(url) && pandora.api.logError({ !isMSIE && !/^resource:/.test(url) && pandora.api.logError({
@ -35,7 +35,7 @@ appPanel
}; };
// handle legacy embed and print URLs // handle legacy embed and print URLs
if ( document.location.hash) { if (document.location.hash) {
document.location.hash = document.location.hash.replace( document.location.hash = document.location.hash.replace(
/^#\?(embed|print)=true(&)?/, /^#\?(embed|print)=true(&)?/,
function() { function() {