fix legacy embed/print url regexp

This commit is contained in:
rolux 2013-08-10 08:33:54 +00:00
parent 6523da525c
commit b8210a7030

View file

@ -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] ? '?' : '');
}