summaryrefslogtreecommitdiff
path: root/help3xsl/help.html
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@collabora.com>2018-08-15 08:54:28 +0200
committerJan Holesovsky <kendy@collabora.com>2018-08-16 09:18:53 +0200
commite76947a271da80e60ef658a9795fd95b6f26476a (patch)
treeb0ff7bfddcd8d980a4fed036201fa2b6a9d8eec6 /help3xsl/help.html
parent73023bcc0dba68f6677bc02cdad75145180e2b11 (diff)
The <version>/index.html can default correctly, no need to do it in the root.
Change-Id: If74aaea6924638f9fef647121da4a35c66fc0213 Reviewed-on: https://gerrit.libreoffice.org/59048 Tested-by: Jenkins Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Diffstat (limited to 'help3xsl/help.html')
-rw-r--r--help3xsl/help.html4
1 files changed, 1 insertions, 3 deletions
diff --git a/help3xsl/help.html b/help3xsl/help.html
index e63435b45c..21afd2ff41 100644
--- a/help3xsl/help.html
+++ b/help3xsl/help.html
@@ -37,9 +37,7 @@
var newURL = version + '/index.html?' + query;
window.location.href = newURL;
} else {
- // URL came from elsewhere, direct access to webroot, we redirect to main Help page
- var userLang = navigator.language || navigator.userLanguage;
- window.location.href = 'latest/' + userLang + '/text/shared/main0108.html?&DbPAR=WRITER&System=WIN';
+ window.location.href = 'latest/index.html';
}
</script>
</body>