Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion gravity-forms/gw-choice-counter.php
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,9 @@ function output_script() {
// Event handler for all listeners to avoid DRY and to maintain a pointer reference to the function
// which we can use to explicity unbind event handlers
self.updateChoiceEventHandler = function() {
self.updateChoiceCount( self.formId, self.choiceFieldIds, self.countFieldId, self.values );
requestAnimationFrame( function() {
self.updateChoiceCount( self.formId, self.choiceFieldIds, self.countFieldId, self.values );
});
};

self.init = function() {
Expand Down
Loading