fix formatting
This commit is contained in:
parent
441cb9892a
commit
8f9d8e2ce2
1 changed files with 3 additions and 3 deletions
|
@ -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() {
|
||||||
|
|
Loading…
Reference in a new issue