Skip to content

Commit 26c1b40

Browse files
authored
gw-choice-counter.php: Fixed Choice Counter not triggering quantity updates.
1 parent f2edc62 commit 26c1b40

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

gravity-forms/gw-choice-counter.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,7 @@ function output_script() {
143143

144144
if( parseInt( countField.val() ) != parseInt( count ) ) {
145145
countField.val( count ).change();
146+
countField[0].dispatchEvent( new Event( 'change', { bubbles: true } ) );
146147
}
147148
}
148149

0 commit comments

Comments
 (0)