aboutsummaryrefslogtreecommitdiffstats
path: root/installer/9/es/content/main.js
diff options
context:
space:
mode:
authorPapoteur <papoteur@mageia.org>2023-10-18 21:57:15 +0200
committerPapoteur <papoteur@mageia.org>2023-10-18 21:57:15 +0200
commitbeec3b849195d207f6ed35d33e7e56010e818349 (patch)
treed964530b753ee0be02444559c21c307d1b0f1275 /installer/9/es/content/main.js
parent5775c223d81b604d0a3c2fd5cd9949fd611ac03a (diff)
downloaddoc-beec3b849195d207f6ed35d33e7e56010e818349.tar
doc-beec3b849195d207f6ed35d33e7e56010e818349.tar.gz
doc-beec3b849195d207f6ed35d33e7e56010e818349.tar.bz2
doc-beec3b849195d207f6ed35d33e7e56010e818349.tar.xz
doc-beec3b849195d207f6ed35d33e7e56010e818349.zip
Adding or refreshing installer in es
Diffstat (limited to 'installer/9/es/content/main.js')
-rw-r--r--installer/9/es/content/main.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/installer/9/es/content/main.js b/installer/9/es/content/main.js
index 18b83351..457dfe1a 100644
--- a/installer/9/es/content/main.js
+++ b/installer/9/es/content/main.js
@@ -97,7 +97,9 @@ function selectTxtToHigh() {
*/
function syncToc() {
- var a = document.getElementById("webhelp-currentid");
+ var tocid = document.getElementById("zz_current-id").getAttribute("data-id");
+ var a = document.getElementById(tocid);
+
if (a !== undefined && a !== null ) {
//Expanding the child sections of the selected node.
var nodeClass = a.getAttribute("class");