am 08a63c1e: am 243b0dc1: am 65cdbdcd: am 65511c0a: fix script bug. we were running some scripts that are only used in the reference

* commit '08a63c1e4b500bda750323bb9ce2e8bfe9392f09':
  fix script bug. we were running some scripts that are only used in the reference
This commit is contained in:
Scott Main 2012-09-10 17:08:42 -07:00 committed by Android Git Automerger
commit 9f3dcd75c6
1 changed files with 8 additions and 7 deletions

View File

@ -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;