diff options
author | Costa Tsaousis (ktsaou) <costa@tsaousis.gr> | 2018-02-11 22:38:17 +0200 |
---|---|---|
committer | Costa Tsaousis (ktsaou) <costa@tsaousis.gr> | 2018-02-11 22:38:17 +0200 |
commit | c55c3b64477319af6fe83fc366c024a06957ffb1 (patch) | |
tree | a46b6fff9bc15897286f197707fb5b7cf574d059 /web/index.html | |
parent | ceda457c19a07b16cabb472dbf286ece50043fa6 (diff) |
print button URL should respect the URL path; fixes #3410
Diffstat (limited to 'web/index.html')
-rw-r--r-- | web/index.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/index.html b/web/index.html index a6620ab07f..f5735b4c3f 100644 --- a/web/index.html +++ b/web/index.html @@ -3032,7 +3032,7 @@ function printPreflight() { - var url = document.location.origin + document.location.search + '#' + urlOptions.genHash() + ';mode=print'; + var url = document.location.origin.toString() + document.location.pathname.toString() + document.location.search.toString() + '#' + urlOptions.genHash() + ';mode=print'; var width = 990; var height = screen.height * 90 / 100; //console.log(url); |