diff --git a/jquery.postmessage.js b/jquery.postmessage.js index 8c65232..f4da8e0 100644 --- a/jquery.postmessage.js +++ b/jquery.postmessage.js @@ -1,6 +1,7 @@ (function($) { if (!("console" in window)) { + window.console = {}; window.console.log = window.console.warn = window.console.error = window.console.debug = function(){}; }