am 4bfc9991
: am 5c0f9e99
: Merge "fix docs.js bug where changeApiLevel is getting called" into jb-mr1-dev
* commit '4bfc9991b49fe2e4e2e77b61c4abe7e38eea6777': fix docs.js bug where changeApiLevel is getting called
This commit is contained in:
@@ -1853,16 +1853,17 @@ function escapeHTML(string) {
|
|||||||
/* ######################################################## */
|
/* ######################################################## */
|
||||||
|
|
||||||
/* Initialize some droiddoc stuff, but only if we're in the reference */
|
/* Initialize some droiddoc stuff, but only if we're in the reference */
|
||||||
if ((location.pathname.indexOf("/reference") &&
|
if (location.pathname.indexOf("/reference")) {
|
||||||
!location.pathname.indexOf("/reference-gms/packages.html") &&
|
if(!location.pathname.indexOf("/reference-gms/packages.html")
|
||||||
!location.pathname.indexOf("/reference-gcm/packages.html") &&
|
&& !location.pathname.indexOf("/reference-gcm/packages.html")
|
||||||
!location.pathname.indexOf("/reference/com/google")) == 0) {
|
&& !location.pathname.indexOf("/reference/com/google") == 0) {
|
||||||
$(document).ready(function() {
|
$(document).ready(function() {
|
||||||
// init available apis based on user pref
|
// init available apis based on user pref
|
||||||
changeApiLevel();
|
changeApiLevel();
|
||||||
initSidenavHeightResize()
|
initSidenavHeightResize()
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
var API_LEVEL_COOKIE = "api_level";
|
var API_LEVEL_COOKIE = "api_level";
|
||||||
var minLevel = 1;
|
var minLevel = 1;
|
||||||
|
Reference in New Issue
Block a user