summaryrefslogtreecommitdiff
path: root/help3xsl/index2.html
diff options
context:
space:
mode:
authorOlivier Hallot <olivier.hallot@libreoffice.org>2018-01-18 22:36:18 -0200
committerOlivier Hallot <olivier.hallot@libreoffice.org>2018-01-19 12:55:54 +0100
commitea4a7345bc1cbcbff3fb4355d0e4f4954f8afa7d (patch)
tree4a0ed275b5aa3b693b742fb984c12a23b5e38171 /help3xsl/index2.html
parentc4a18626d14426cbd8884d1028eb248fe3b21c44 (diff)
Fix detection of bad help call
remove single quotes Change-Id: Ia7951508cbf0a49ae029588e1d254de5f3942f12 Reviewed-on: https://gerrit.libreoffice.org/48165 Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org> Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Diffstat (limited to 'help3xsl/index2.html')
-rw-r--r--help3xsl/index2.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/help3xsl/index2.html b/help3xsl/index2.html
index 6f4fc7f39a..f30348b98b 100644
--- a/help3xsl/index2.html
+++ b/help3xsl/index2.html
@@ -38,10 +38,10 @@
var bookmark = rest.slice(rest.indexOf('/')+1, rest.indexOf('?'));
var file = map[bookmark];
// rebuild URL
- if (file=='undefined'){
+ if (file === undefined){
file = defaultFile;
}
- var newURL = lang+'/'+file+'?System='+system+'&DbPAR='+module;
+ var newURL = lang + '/' + file + '?System=' + system + '&DbPAR=' + module;
window.open(newURL,'_self');
}else{
// URL came from elsewhere, direct access to webroot, we redirect to main Help page