am 9839afdd: am 1d42360a: docs: style and script changes for android u classes

* commit '9839afddfcade4db1989718216b592aed76e73e7':
  docs: style and script changes for android u classes
This commit is contained in:
Scott Main 2011-12-15 17:39:50 -08:00 committed by Android Git Automerger
commit 9dd47277a3
2 changed files with 3 additions and 3 deletions

View File

@ -67,8 +67,7 @@
#side-nav li {
padding:0;
line-height:16px;
white-space:nowrap;
padding:1px 0 1px 0;
zoom:1;
}
@ -80,6 +79,7 @@
}
#side-nav li a {
display: inline-block; /* needed to apply padding to line-wraps */
text-decoration:none;
padding: 0 0 0 18px;
zoom:1;

View File

@ -425,7 +425,7 @@ function loadLast(cookiePath) {
$(window).unload(function(){
var path = getBaseUri(location.pathname);
if (path.indexOf("/reference/") != -1) {
if ((path.indexOf("/reference/") != -1) || (path.indexOf("/training/") != -1)) {
writeCookie("lastpage", path, "reference", null);
} else if (path.indexOf("/guide/") != -1) {
writeCookie("lastpage", path, "guide", null);