From 3d84b3e7ae8ebca72f367477702de28f15457e4e Mon Sep 17 00:00:00 2001 From: JC Brand Date: Sat, 19 Oct 2013 17:10:56 +0200 Subject: [PATCH] IE8 bugfix. Fixes #52 --- converse.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/converse.js b/converse.js index ed12805e5..e3277c030 100644 --- a/converse.js +++ b/converse.js @@ -8,7 +8,7 @@ // AMD/global registrations (function (root, factory) { - if (console===undefined || console.log===undefined) { + if (typeof console === "undefined" || typeof console.log === "undefined") { console = { log: function () {}, error: function () {} }; } if (typeof define === 'function' && define.amd) {