forked from openkylin/platform_build
fix script bug. we were running some scripts that are only used in the reference
Change-Id: I0693a7a7af5e41283942b387e53a254903b83427
This commit is contained in:
parent
d6a469693f
commit
65511c0a72
|
@ -1811,13 +1811,14 @@ function escapeHTML(string) {
|
|||
/* ################# JAVADOC REFERENCE ################### */
|
||||
/* ######################################################## */
|
||||
|
||||
/* Initialize some droiddoc stuff */
|
||||
$(document).ready(function() {
|
||||
|
||||
// init available apis based on user pref
|
||||
changeApiLevel();
|
||||
initSidenavHeightResize()
|
||||
});
|
||||
/* Initialize some droiddoc stuff, but only if we're in the reference */
|
||||
if (location.pathname.indexOf("/reference") == 0) {
|
||||
$(document).ready(function() {
|
||||
// init available apis based on user pref
|
||||
changeApiLevel();
|
||||
initSidenavHeightResize()
|
||||
});
|
||||
}
|
||||
|
||||
var API_LEVEL_COOKIE = "api_level";
|
||||
var minLevel = 1;
|
||||
|
|
Loading…
Reference in New Issue