Skip to content

Commit

Permalink
Debounce at trailing edge instead of leading
Browse files Browse the repository at this point in the history
This fixes an issue where points on a card would not be detected when the card was moved between columns.
  • Loading branch information
Rick Pastoor committed Sep 26, 2015
1 parent 86eff2b commit ce85ff7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scrummer.js
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ var calculateStoryPointsForBoard = function () {
}

var calculateStoryPointsForBoardDebounced = function () {
debounce(calculateStoryPointsForBoard, 200, true)();
debounce(calculateStoryPointsForBoard, 100)();
}

/**
Expand Down

0 comments on commit ce85ff7

Please sign in to comment.