misc: adjust template to late visibility identifier changes (#17001)

This commit is contained in:
Frédéric Péters 2018-10-29 16:44:53 +01:00
parent 15959ea28d
commit 9a4183aac8
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@
$form.find('select').first().on('change', function() {
var val = $(this).val();
var $groups = $form.find('select').last().parent('p');
if (val == 'groups-on' || val == 'groups-off') {
if (val == 'groups-any' || val == 'groups-none') {
$groups.show();
} else {
$groups.hide();