Missed one place in the button colour refactor
This commit is contained in:
@@ -42,8 +42,8 @@ $('.jsResetSection').on('click', function () {
|
||||
$('#wireOptions button').on('click', function () {
|
||||
var colour = this.getAttribute('data-colour'),
|
||||
letter = this.getAttribute('data-letter'),
|
||||
$li = $('<li><button class="button' + colour.charAt(0).toUpperCase() + colour.substring(1)
|
||||
+ '" data-colour="' + colour + '" data-letter="' + letter + '"></button></li>');
|
||||
$li = $('<li><button class="button ' + colour + '" data-colour="' + colour
|
||||
+ '" data-letter="' + letter + '"></button></li>');
|
||||
|
||||
$wireList.append($li);
|
||||
count[colour]++;
|
||||
|
||||
Reference in New Issue
Block a user