fix formatting

This commit is contained in:
rolux 2015-02-21 15:50:15 +05:30
parent 441cb9892a
commit 8f9d8e2ce2
1 changed files with 3 additions and 3 deletions

View File

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