@cryptotaxi247 / netdata-1 / commits / c55c3b644

print button URL should respect the URL path; fixes #3410

Costa Tsaousis (ktsaou) committed Feb 11, 2018 at 22:38 UTC c55c3b64477319af6fe83fc366c024a06957ffb1
1 file changed +1 -1
web/index.html
+1 -1
@@ -3032,7 +3032,7 @@
3032
3033
3034 function printPreflight() {
3035 - var url = document.location.origin + document.location.search + '#' + urlOptions.genHash() + ';mode=print';
3035 + var url = document.location.origin.toString() + document.location.pathname.toString() + document.location.search.toString() + '#' + urlOptions.genHash() + ';mode=print';
3036 var width = 990;
3037 var height = screen.height * 90 / 100;
3038 //console.log(url);