Browse files

Fixed console log

  • Loading branch information...
1 parent 3bc0c80 commit 022118c19cb190cbb031df807e449096ea7c405c @johncch committed Jan 16, 2012
Showing with 4 additions and 1 deletion.
  1. +4 −1 js/main.js
View
5 js/main.js
@@ -6,5 +6,8 @@ $(document).ready(function(e) {
// Prevent errors in browsers without console support
if (!console) {
- console.log = function() {}
+ var console = {
+ log: function() {}
+ }
+ }
}

0 comments on commit 022118c

Please sign in to comment.