am 578d6446: docs: move loading of google ref into doc load event to prevent error during load
* commit '578d6446eb1714e17a5ccf55a69379f064ec549a':
docs: move loading of google ref into doc load event to prevent error during load
diff --git a/tools/droiddoc/templates-sdk/customizations.cs b/tools/droiddoc/templates-sdk/customizations.cs
index 75559e6..d36d2f5 100644
--- a/tools/droiddoc/templates-sdk/customizations.cs
+++ b/tools/droiddoc/templates-sdk/customizations.cs
@@ -146,15 +146,12 @@
</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 ?>