]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
check for prettyprint on window
authorJacob Thornton <jacobthornton@gmail.com>
Fri, 23 Dec 2011 03:17:41 +0000 (19:17 -0800)
committerJacob Thornton <jacobthornton@gmail.com>
Fri, 23 Dec 2011 03:17:41 +0000 (19:17 -0800)
docs/assets/js/application.js

index c8e796a398a3999773be4eddb75d43f7115e8c82..eae84b138fe1ba889146997712e9991bfa941ed5 100644 (file)
@@ -17,7 +17,7 @@ $(function(){
   // ==================
 
   // make code pretty
-  prettyPrint && prettyPrint()
+  window.prettyPrint && prettyPrint()
 
   // table sort example
   if ($.fn.tableSorter) {