Skip to content

Commit

Permalink
fix(question): javascript code was displayed
Browse files Browse the repository at this point in the history
Signed-off-by: Thierry Bugier <tbugier@teclib.com>
  • Loading branch information
btry committed Jan 15, 2020
1 parent 918a88d commit a7be931
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/scripts.js.php
Original file line number Diff line number Diff line change
Expand Up @@ -1085,7 +1085,7 @@ function plugin_formcreator_changeQuestionType(rand) {
}

$('#label_required').toggle(response.may_be_required);
$('#plugin_formcreator_required > *').toggle(response.may_be_required);
$('#plugin_formcreator_required > [name="required"]').toggle(response.may_be_required);

$('#label_show_empty').toggle(response.may_be_empty);
$('#plugin_formcreator_show_empty > *').toggle(response.may_be_empty);
Expand Down

0 comments on commit a7be931

Please sign in to comment.