OSDN Git Service

docs: move loading of google ref into doc load event to prevent error during load
authorScott Main <smain@google.com>
Tue, 26 Feb 2013 22:46:12 +0000 (14:46 -0800)
committerScott Main <smain@google.com>
Tue, 26 Feb 2013 22:46:12 +0000 (14:46 -0800)
Change-Id: Ibe825c25e19f136b2cd58e8a096d13904720e3d2

tools/droiddoc/templates-sdk/customizations.cs

index 75559e6..d36d2f5 100644 (file)
@@ -146,15 +146,12 @@ def:google_nav() ?>
         
 
       </div>
-      <script type="text/javascript">
-       showGoogleRefTree();
-    
-      </script>
     </div> <!-- end side-nav -->
-    <script>
+    <script type="text/javascript">
       $(document).ready(function() {
+        showGoogleRefTree();
         scrollIntoView("devdoc-nav");
-        });
+      });
     </script>
 <?cs /def ?>