From 5ac6c06dc2194ea7414d409ca0de93ad1e8ad5c5 Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Tue, 27 Nov 2012 03:47:11 +0100 Subject: [PATCH] IE8 workaround. --- app/assets/javascripts/app/lib/app_init/log.js.coffee | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/assets/javascripts/app/lib/app_init/log.js.coffee b/app/assets/javascripts/app/lib/app_init/log.js.coffee index e129dfeef..963ebe253 100644 --- a/app/assets/javascripts/app/lib/app_init/log.js.coffee +++ b/app/assets/javascripts/app/lib/app_init/log.js.coffee @@ -26,5 +26,6 @@ class _Singleton _log: ( module, level, args ) -> - window.console.log "App.#{module}(#{level})", args + return if !console + console.log "App.#{module}(#{level})", args