Merge "Rackspace branding: Fix show/hide toc bug"

This commit is contained in:
Jenkins
2014-05-09 01:45:52 +00:00
committed by Gerrit Code Review
2 changed files with 4 additions and 0 deletions

View File

@@ -19,6 +19,8 @@ $(document).ready(function() {
var sidebarState = readCookie("webhelp-sidebar");
if(sidebarState == "showing" || sidebarState == "hidden") {
showHideToc(sidebarState);
}else{
showHideToc("showing");
}
syncToc(); //Synchronize the toc tree with the content pane, when loading the page.

View File

@@ -19,6 +19,8 @@ $(document).ready(function() {
var sidebarState = readCookie("webhelp-sidebar");
if(sidebarState == "showing" || sidebarState == "hidden") {
showHideToc(sidebarState);
}else{
showHideToc("showing");
}
syncToc(); //Synchronize the toc tree with the content pane, when loading the page.