Skip to content

Commit

Permalink
Better name for var: consumedSequence
Browse files Browse the repository at this point in the history
  • Loading branch information
onilton committed Mar 5, 2015
1 parent b898469 commit e570904
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions trelloscrum.js
Original file line number Diff line number Diff line change
Expand Up @@ -768,8 +768,8 @@ function showPointPickerChecklist(location) {
var $picker = $('<div/>', {class: "picker-consumed"}).appendTo('.checklist-item-details .edit-controls');
$picker.append($('<span>', {class: "picker-title"}).text("Consumed Points"));

var estimateSequence = (S4T_SETTINGS[SETTING_NAME_ESTIMATES]).split(',');
for (var i in estimateSequence) $picker.append($('<span>', {class: "point-value"}).text(estimateSequence[i]).click(function(){
var consumedSequence = (S4T_SETTINGS[SETTING_NAME_ESTIMATES]).split(',');
for (var i in consumedSequence) $picker.append($('<span>', {class: "point-value"}).text(consumedSequence[i]).click(function(){
var value = $(this).text();
// use our parent element to locate the inner textarea
var $text = $parent.find('textarea');
Expand Down

0 comments on commit e570904

Please sign in to comment.