am 65511c0a
: fix script bug. we were running some scripts that are only used in the reference
* commit '65511c0a726751e9973486198086d8db6a141455': fix script bug. we were running some scripts that are only used in the reference
This commit is contained in:
@@ -1811,13 +1811,14 @@ function escapeHTML(string) {
|
|||||||
/* ################# JAVADOC REFERENCE ################### */
|
/* ################# JAVADOC REFERENCE ################### */
|
||||||
/* ######################################################## */
|
/* ######################################################## */
|
||||||
|
|
||||||
/* Initialize some droiddoc stuff */
|
/* Initialize some droiddoc stuff, but only if we're in the reference */
|
||||||
$(document).ready(function() {
|
if (location.pathname.indexOf("/reference") == 0) {
|
||||||
|
$(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