Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 04fc926d authored by Robert Ly's avatar Robert Ly Committed by Android Git Automerger
Browse files

am 70b80f2a: am 7bfd28d7: am 4bfc9991: am 5c0f9e99: Merge "fix docs.js bug...

am 70b80f2a: am 7bfd28d7: am 4bfc9991: am 5c0f9e99: Merge "fix docs.js bug where changeApiLevel is getting called" into jb-mr1-dev

* commit '70b80f2a':
  fix docs.js bug where changeApiLevel is getting called
parents c60c594c 70b80f2a
Loading
Loading
Loading
Loading
+10 −9
Original line number Diff line number Diff line
@@ -1853,16 +1853,17 @@ function escapeHTML(string) {
/* ######################################################## */

/* Initialize some droiddoc stuff, but only if we're in the reference */
if ((location.pathname.indexOf("/reference") &&
  !location.pathname.indexOf("/reference-gms/packages.html") &&
  !location.pathname.indexOf("/reference-gcm/packages.html") &&
  !location.pathname.indexOf("/reference/com/google")) == 0) {
if (location.pathname.indexOf("/reference")) {
  if(!location.pathname.indexOf("/reference-gms/packages.html")
    && !location.pathname.indexOf("/reference-gcm/packages.html")
    && !location.pathname.indexOf("/reference/com/google") == 0) {
    $(document).ready(function() {
      // init available apis based on user pref
      changeApiLevel();
      initSidenavHeightResize()
      });
  }
}

var API_LEVEL_COOKIE = "api_level";
var minLevel = 1;