From b010c8d5a10121b9f98d7dcbc5c6854d482c64c7 Mon Sep 17 00:00:00 2001 From: "kay.one" Date: Mon, 20 May 2013 17:34:02 -0700 Subject: [PATCH] fixed application crash on IE. removed changed header text to be capitalize instead of uppercase --- UI/Content/theme.less | 2 +- UI/Instrumentation/ErrorHandler.js | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/UI/Content/theme.less b/UI/Content/theme.less index 5d48f36db..f433ee8fd 100644 --- a/UI/Content/theme.less +++ b/UI/Content/theme.less @@ -544,7 +544,7 @@ footer { text-decoration: none; } body h1, body h2, body h3, body h4, body h5, body h6 { - text-transform: uppercase; + text-transform: capitalize; font-weight: 300; } .b-database { diff --git a/UI/Instrumentation/ErrorHandler.js b/UI/Instrumentation/ErrorHandler.js index d091011bd..f24114dd0 100644 --- a/UI/Instrumentation/ErrorHandler.js +++ b/UI/Instrumentation/ErrorHandler.js @@ -8,6 +8,17 @@ this.push(model); */ + + if (!window.console) { + window.console = {}; + } + + if (!window.console.debug) { + window.console.debug = function () { + + }; + } + window.alert = function (message) { window.Messenger().post(message); };