We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
gw-none-of-the-above-checkbox.js
1 parent 62b384a commit 2f4fedcCopy full SHA for 2f4fedc
gravity-forms/gw-none-of-the-above-checkbox.js
@@ -26,7 +26,7 @@ $( '.gw-none-of-the-above' ).each( function() {
26
var $others = $field.find( 'input' ).not( $last );
27
28
// If "None of the Above" choice is checked by default.
29
- if ( $( last ).prop( 'checked' ) ) {
+ if ( $( $last ).prop( 'checked' ) ) {
30
var $checkboxes = $field.find( 'input' ).not( $last )
31
$checkboxes
32
.prop( 'checked', false )
0 commit comments