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
|
||||
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