diff options
Diffstat (limited to 'app/views/blobs')
-rw-r--r-- | app/views/blobs/show.html.erb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/blobs/show.html.erb b/app/views/blobs/show.html.erb index 4042b53..5193be2 100644 --- a/app/views/blobs/show.html.erb +++ b/app/views/blobs/show.html.erb @@ -31,7 +31,7 @@ <%= javascript_include_tag("prettify/lang-#{hl}.js", :cache => false) -%> <% end -%> <script type="text/javascript" charset="utf-8"> - Event.observe(window, "dom:loaded", function(e){ + $(document).ready(function(){ prettyPrint(); }); </script> |