Skip to content

Commit 89a4e2e

Browse files
committed
gw-choice-counter.php: Fixed Choice Counter not triggering quantity updates.
1 parent 5f35dd9 commit 89a4e2e

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)