summaryrefslogtreecommitdiff
path: root/help3xsl/help.js
diff options
context:
space:
mode:
authorOlivier Hallot <olivier.hallot@libreoffice.org>2025-01-09 12:58:25 -0300
committerIlmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>2025-01-10 15:13:46 +0100
commit2cdea9c17ac7daf6050fcd45ad1e9f0d10f1acbb (patch)
treec1e80febb93b945f7b0ed2e8e06ef96a50c6e4c4 /help3xsl/help.js
parentf88fd35d195d3b0503987d6edf0f2ab3a0da4847 (diff)
Simpler solution for no javascript browsers.
Avoid previous flashing warning Special thanks to Christian Lohmaier for the tip. Change-Id: Iead34d14f12c5f670645adbcf28f4ab96d625477 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/180024 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org> (cherry picked from commit 8e9d43a7d1d12b7e9dcfbf8b54b8d50b0cba7b78) Reviewed-on: https://gerrit.libreoffice.org/c/help/+/180074 Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
Diffstat (limited to 'help3xsl/help.js')
-rw-r--r--help3xsl/help.js4
1 files changed, 0 insertions, 4 deletions
diff --git a/help3xsl/help.js b/help3xsl/help.js
index 5f8485d5b3..8e0dc54206 100644
--- a/help3xsl/help.js
+++ b/help3xsl/help.js
@@ -7,10 +7,6 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-// Javascript is available? If not, display warning block
-let h = document.getElementById("WarnJS");
-h.style.display = "none";
-
// Pagination and bookmark search
var url = window.location.pathname;
var moduleRegex = new RegExp('text\\/(\\w+)\\/');