Skip to content

Commit c0a399c

Browse files
committed
gpcc-copy-label.js: Fixed an issue with copying labels from checkbox selections.
1 parent 8b8264a commit c0a399c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gp-copy-cat/gpcc-copy-label.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ gform.addFilter( 'gppc_copied_value', function( value, $elem, data ) {
1919
} else if( $source.is( '.gfield_radio' ) ) {
2020
value = $( '.gfield-choice-input:checked + label' ).text();
2121
} else if ( $source.is( '.gfield_checkbox') ) {
22-
$inputs= $source.find( 'input:checked' );
22+
$inputs = $source.find( 'input:checked' );
2323
var checkedLabels = [];
2424
$inputs.each( function () {
2525
var label = $(this).next('label').text();

0 commit comments

Comments
 (0)