help3xsl/help.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) New commits: commit 455c31acf023c7c739629eb41eb957c5727dd62d Author: Ilmari Lauhakangas <ilmari.lauhakan...@libreoffice.org> AuthorDate: Tue Apr 23 13:02:54 2019 +0200 Commit: Olivier Hallot <olivier.hal...@libreoffice.org> CommitDate: Thu Apr 25 13:03:49 2019 +0200
tdf#124725 use window.location.pathname So any backslashes will be forward instead. Change-Id: I92aa4e0e6cb599431ba16da5bc481f5ad3877481 Reviewed-on: https://gerrit.libreoffice.org/71124 Reviewed-by: Olivier Hallot <olivier.hal...@libreoffice.org> Tested-by: Olivier Hallot <olivier.hal...@libreoffice.org> Tested-by: Jenkins 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; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits