Loading tools/droiddoc/templates/assets/android-developer-docs.js +6 −6 Original line number Diff line number Diff line Loading @@ -260,20 +260,20 @@ function resizeWidth() { classesNav.css({width:sidenavWidth}); $("#packages-nav").css({width:sidenavWidth}); if ($(".side-nav-resizable").length) { // Must check if the nav is resizable because IE6 calls resizeWidth() from resizeAll() for all pages var basePath = getBaseUri(location.pathname); var section = basePath.substring(1,basePath.indexOf("/",1)); writeCookie("width", sidenavWidth, section, null); } } /* For IE6 only, * because it can't properly perform auto width for "doc-content" div, * avoiding this for all browsers provides better performance */ function resizeAll() { resizeHeight(); if ($(".side-nav-resizable").length) { resizeWidth(); } } function getBaseUri(uri) { var intlUrl = (uri.substring(0,6) == "/intl/"); Loading Loading
tools/droiddoc/templates/assets/android-developer-docs.js +6 −6 Original line number Diff line number Diff line Loading @@ -260,20 +260,20 @@ function resizeWidth() { classesNav.css({width:sidenavWidth}); $("#packages-nav").css({width:sidenavWidth}); if ($(".side-nav-resizable").length) { // Must check if the nav is resizable because IE6 calls resizeWidth() from resizeAll() for all pages var basePath = getBaseUri(location.pathname); var section = basePath.substring(1,basePath.indexOf("/",1)); writeCookie("width", sidenavWidth, section, null); } } /* For IE6 only, * because it can't properly perform auto width for "doc-content" div, * avoiding this for all browsers provides better performance */ function resizeAll() { resizeHeight(); if ($(".side-nav-resizable").length) { resizeWidth(); } } function getBaseUri(uri) { var intlUrl = (uri.substring(0,6) == "/intl/"); Loading