diff --git a/assets/js/try.js b/assets/js/try.js index f68fa825d..5977a851c 100644 --- a/assets/js/try.js +++ b/assets/js/try.js @@ -8,8 +8,9 @@ if(typeof console === 'undefined'){ console = {}; console.log = function (str) {$("#out").text(uneval(str))}; } -// noop -print = function (){} + +// Can't just do 'print = console.log' because of chromium bug #179628 +print = console.log.bind(console); var printOut = function (str) { $("#out").text(str); };