From 1da823869ccbc5f848cdd35d52d1630886288446 Mon Sep 17 00:00:00 2001 From: Scott Main Date: Thu, 17 Sep 2009 10:54:05 -0700 Subject: [PATCH] docs only. use normal DOM mod instead of jquery to load the lists.js file because jquery was appending GET parameters that eliminated any caching of the file. Change-Id: I926ef8c164ba81d040256accaf78883807c3b57e --- tools/droiddoc/templates/assets/android-developer-docs.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/droiddoc/templates/assets/android-developer-docs.js b/tools/droiddoc/templates/assets/android-developer-docs.js index b16ed0d8d..9ee6de0c0 100644 --- a/tools/droiddoc/templates/assets/android-developer-docs.js +++ b/tools/droiddoc/templates/assets/android-developer-docs.js @@ -50,7 +50,7 @@ addLoadEvent( function() { var lists = document.createElement("script"); lists.setAttribute("type","text/javascript"); lists.setAttribute("src", toRoot+"reference/lists.js"); - $("head").append($(lists)); + document.getElementsByTagName("head")[0].appendChild(lists); } ); function setToRoot(root) {