diff --git a/static/js/pandora.js b/static/js/pandora.js index 7a22f954f..acf3e7e3d 100644 --- a/static/js/pandora.js +++ b/static/js/pandora.js @@ -33,7 +33,7 @@ appPanel // handle legacy embed and print URLs document.location.hash = document.location.hash.replace( - /^\?#(embed|print)=true(&)?/, + /^#\?(embed|print)=true(&)?/, function() { return '#' + arguments[1] + (arguments[2] ? '?' : ''); }