forked from 0x2620/pandora
fix legacy embed/print url regexp
This commit is contained in:
parent
6523da525c
commit
b8210a7030
1 changed files with 1 additions and 1 deletions
|
@ -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] ? '?' : '');
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue