Skip to content
Merged
Changes from 1 commit
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 );
setTimeout( function() {
self.updateChoiceCount( self.formId, self.choiceFieldIds, self.countFieldId, self.values );
}, 10 ); // 10ms delay gives DOM time to reflect input change
};

self.init = function() {
Expand Down
Loading