Skip to content

Commit 0340bad

Browse files
authored
gw-none-of-the-above-checkbox.js: Updated disable_nota variable to disableNota.
1 parent a3f4094 commit 0340bad

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

gravity-forms/gw-none-of-the-above-checkbox.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
*/
2222
$( '.gw-none-of-the-above' ).each( function() {
2323

24-
var disable_nota = false;
24+
var disableNota = false;
2525
var $field = $( this );
2626
var $last = $field.find( '.gchoice:last-child input' );
2727
var $others = $field.find( 'input' ).not( $last );
@@ -46,7 +46,7 @@ $( '.gw-none-of-the-above' ).each( function() {
4646
} );
4747

4848
$others.on( 'click', function() {
49-
if ( $others.filter( ':checked' ).length && disable_nota ) {
49+
if ( $others.filter( ':checked' ).length && disableNota ) {
5050
$last.prop( 'disabled', true );
5151
} else {
5252
$last.prop( 'disabled', false );

0 commit comments

Comments
 (0)