From 8f9d8e2ce21887ba755413bfda6e831841fad8a4 Mon Sep 17 00:00:00 2001 From: rolux Date: Sat, 21 Feb 2015 15:50:15 +0530 Subject: [PATCH] fix formatting --- static/js/pandora.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/static/js/pandora.js b/static/js/pandora.js index 09fd67a3d..925a9d21c 100644 --- a/static/js/pandora.js +++ b/static/js/pandora.js @@ -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() {