Commit 6bae07b54ffbece87b40539496c5a53bb9ee7d50

Authored by Sascha Depold
1 parent e7e3a178
Exists in master and in 1 other branch production

use charAt as array notation is not available in IE8

`"foo"[0]` is not available in IE < 9. Use `charAt` instead.
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 /*