diff options
author | Papoteur <papoteur@mageia.org> | 2023-10-18 21:57:15 +0200 |
---|---|---|
committer | Papoteur <papoteur@mageia.org> | 2023-10-18 21:57:15 +0200 |
commit | beec3b849195d207f6ed35d33e7e56010e818349 (patch) | |
tree | d964530b753ee0be02444559c21c307d1b0f1275 /installer/9/es/content/main.js | |
parent | 5775c223d81b604d0a3c2fd5cd9949fd611ac03a (diff) | |
download | doc-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.js | 4 |
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"); |