Commit 64c33b85e8a6237a8a3b4f60ed4d5379e5144e90

Authored by Sergey Nartimov
2 parents e7e3a178 6bae07b5
Exists in master and in 1 other branch production

Merge pull request #476 from sdepold/patch-2

use charAt as array notation is not available in IE8
Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
public/javascripts/notifier.js
@@ -572,7 +572,7 @@ printStackTrace.implementation.prototype = { @@ -572,7 +572,7 @@ printStackTrace.implementation.prototype = {
572 * Is used to generate getter and setter method names. 572 * Is used to generate getter and setter method names.
573 */ 573 */
574 capitalizeFirstLetter: function (str) { 574 capitalizeFirstLetter: function (str) {
575 - return str[0].toUpperCase() + str.slice(1); 575 + return str.charAt(0).toUpperCase() + str.slice(1);
576 }, 576 },
577 577
578 /* 578 /*