]> git.ipfire.org Git - people/jschlag/pbs.git/blobdiff - data/static/js/pbs.js
Make package files viewable.
[people/jschlag/pbs.git] / data / static / js / pbs.js
index 74e02fedfaca9b9efb0e36dae6cbbecd6a9bcce0..77b8fde8039b3de907079f2f8a3d52bbad20a462 100644 (file)
@@ -1,7 +1,6 @@
-// Activate Google Prettify for pretty-printing code.
-addEventListener('load', prettyPrint, false);
-
 $(document).ready(function() {
+       // Activate Google Prettify for pretty-printing code.
+       window.prettyPrint && prettyPrint()
 });
 
 function getCookie(name) {