diff options
-rw-r--r-- | app/views/repositories/_revision_graph.html.erb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/repositories/_revision_graph.html.erb b/app/views/repositories/_revision_graph.html.erb index 02e26de14..34d849924 100644 --- a/app/views/repositories/_revision_graph.html.erb +++ b/app/views/repositories/_revision_graph.html.erb @@ -5,9 +5,9 @@ <%= javascript_include_tag "revision_graph.js" %> <script type="text/javascript"> - window.onload = function(){ + Event.observe(window,"load", function(){ branchGraph(document.getElementById("holder")); - } + }) </script> <div id="holder" class="graph"></div> |