forked from 0x2620/pandora
fix legacy embed/print url regexp
This commit is contained in:
parent
b8210a7030
commit
4f11636623
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ appPanel
|
||||||
|
|
||||||
// handle legacy embed and print URLs
|
// handle legacy embed and print URLs
|
||||||
document.location.hash = document.location.hash.replace(
|
document.location.hash = document.location.hash.replace(
|
||||||
/^\?#(embed|print)=true(&)?/,
|
/^#\?(embed|print)=true(&)?/,
|
||||||
function() {
|
function() {
|
||||||
return '#' + arguments[1] + (arguments[2] ? '?' : '');
|
return '#' + arguments[1] + (arguments[2] ? '?' : '');
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue