Skip to content

Commit 4e8acd6

Browse files
authored
Label for the "enable" checkbox now toggles the checkbox
1 parent e4dd2b8 commit 4e8acd6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

gravity-forms-sisyphus.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ public static function add_form_setting( $settings, $form )
9292
$settings['Form Options']['enable_sisyphus'] = '
9393
<tr>
9494
<th>Sisyphus <a href="#" onclick="return false;" class="tooltip tooltip_form_animation" tooltip="&lt;h6&gt;Enable Sisyphus Saving&lt;/h6&gt;Check this option to enable saving forms with local storage through the Sisyphus plugin."></a></th>
95-
<td><input type="checkbox" value="1" '.$checked.' name="enable_sisyphus"> <label for="enable_sisyphus">'.__('Enable local saving of forms', 'gravity-forms-sisyphus').'</label></td>
95+
<td><input type="checkbox" value="1" '.$checked.' name="enable_sisyphus" id="enable_sisyphus"> <label for="enable_sisyphus">'.__('Enable local saving of forms', 'gravity-forms-sisyphus').'</label></td>
9696
</tr>';
9797

9898
return $settings;
@@ -202,4 +202,4 @@ function rgempty($name, $array = null){
202202
function rgblank($text){
203203
return empty($text) && strval($text) != "0";
204204
}
205-
}
205+
}

0 commit comments

Comments
 (0)