summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIlmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>2019-04-23 13:02:54 +0200
committerOlivier Hallot <olivier.hallot@libreoffice.org>2019-04-25 13:03:49 +0200
commit455c31acf023c7c739629eb41eb957c5727dd62d (patch)
treea8cb35fab616e7fd8199228fc1ed9c5e8501fef2
parent6543664118f1ddaa7ec4ecfec7a42889fa8f76a9 (diff)
So any backslashes will be forward instead. Change-Id: I92aa4e0e6cb599431ba16da5bc481f5ad3877481 Reviewed-on: https://gerrit.libreoffice.org/71124 Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org> Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org> Tested-by: Jenkins
-rw-r--r--help3xsl/help.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/help3xsl/help.js b/help3xsl/help.js
index e806eeed4..7789c17ae 100644
--- a/help3xsl/help.js
+++ b/help3xsl/help.js
@@ -8,7 +8,7 @@
*/
// Pagination and fuzzy search
-var url = document.URL;
+var url = window.location.pathname;
var moduleRegex = new RegExp('text\\/(\\w+)\\/');
var regexArray = moduleRegex.exec(url);
var currentModule = null;