aboutsummaryrefslogtreecommitdiffstats
path: root/installer/9/es/content/main.js
diff options
context:
space:
mode:
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");