fix legacy embed/print url regexp

This commit is contained in:
rolux 2013-08-10 08:34:24 +00:00
parent b8210a7030
commit 4f11636623

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