Skip to content

Commit 7ce202d

Browse files
authored
gppa-remove-empty-choices.js: Fixed an issue with empty choices not getting removed.
1 parent 278e693 commit 7ce202d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gp-populate-anything/gppa-remove-empty-choices.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ $containers.each( function() {
1313
} );
1414

1515
// Show/hide checkboxes when the field is manipulated.
16-
$containers.bind( 'DOMNodeInserted DOMNodeRemoved', function() {
16+
$containers.bind( 'DOMNodeInserted DOMNodeRemoved change.gppa', function() {
1717
gwizRemoveEmptyChoices( $( this ) );
1818
} );
1919

0 commit comments

Comments
 (0)