Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e8e50739 authored by Scott Main's avatar Scott Main Committed by Android Git Automerger
Browse files

am ac2c989e: am 6b719da3: docs: update sidenav-width-adjust script so Training...

am ac2c989e: am 6b719da3: docs: update sidenav-width-adjust script so Training classes save the width for the Resources section

* commit 'ac2c989e':
  docs: update sidenav-width-adjust script so Training classes save the width for the Resources section
parents 4793116d ac2c989e
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -372,6 +372,7 @@ function resizeWidth() {
  if (sidenav.length) { // Must check if the nav exists because IE6 calls resizeWidth() from resizeAll() for all pages
  if (sidenav.length) { // Must check if the nav exists because IE6 calls resizeWidth() from resizeAll() for all pages
    var basePath = getBaseUri(location.pathname);
    var basePath = getBaseUri(location.pathname);
    var section = basePath.substring(1,basePath.indexOf("/",1));
    var section = basePath.substring(1,basePath.indexOf("/",1));
    section = section.indexOf("training") != -1 ? "resources" : section;
    writeCookie("width", sidenavWidth, section, null);
    writeCookie("width", sidenavWidth, section, null);
  }
  }
}
}