diff --git a/gp-populate-anything/gppa-remove-empty-choices.js b/gp-populate-anything/gppa-remove-empty-choices.js index b90f54716..67400b3cc 100644 --- a/gp-populate-anything/gppa-remove-empty-choices.js +++ b/gp-populate-anything/gppa-remove-empty-choices.js @@ -13,7 +13,7 @@ $containers.each( function() { } ); // Show/hide checkboxes when the field is manipulated. -$containers.bind( 'DOMNodeInserted DOMNodeRemoved', function() { +$containers.bind( 'DOMNodeInserted DOMNodeRemoved change.gppa', function() { gwizRemoveEmptyChoices( $( this ) ); } );