From b8210a7030eff29a250ad96071ddea85697bc6cd Mon Sep 17 00:00:00 2001 From: rolux Date: Sat, 10 Aug 2013 08:33:54 +0000 Subject: [PATCH] fix legacy embed/print url regexp --- static/js/pandora.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/js/pandora.js b/static/js/pandora.js index 72092f66c..7a22f954f 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] ? '?' : ''); }