From 6bae07b54ffbece87b40539496c5a53bb9ee7d50 Mon Sep 17 00:00:00 2001 From: Sascha Depold Date: Tue, 7 May 2013 14:58:11 +0300 Subject: [PATCH] use charAt as array notation is not available in IE8 --- public/javascripts/notifier.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/javascripts/notifier.js b/public/javascripts/notifier.js index e393ef5..792759e 100644 --- a/public/javascripts/notifier.js +++ b/public/javascripts/notifier.js @@ -572,7 +572,7 @@ printStackTrace.implementation.prototype = { * Is used to generate getter and setter method names. */ capitalizeFirstLetter: function (str) { - return str[0].toUpperCase() + str.slice(1); + return str.charAt(0).toUpperCase() + str.slice(1); }, /* -- libgit2 0.21.2