Update Composer, update everything

This commit is contained in:
Oliver Davies 2018-11-23 12:29:20 +00:00
parent ea3e94409f
commit dda5c284b6
19527 changed files with 1135420 additions and 351004 deletions

View file

@ -1,6 +1,6 @@
/**
* @file
* Javascript behaviors for roles element integration.
* JavaScript behaviors for roles element integration.
*/
(function ($, Drupal) {
@ -17,7 +17,7 @@
$(context).find('.js-webform-roles-role[value="authenticated"]').once('webform-roles').each(function () {
var $authenticated = $(this);
var $checkboxes = $authenticated.parents('.form-checkboxes').find('.js-webform-roles-role').filter(function () {
return ($(this).val() != 'anonymous' && $(this).val() != 'authenticated');
return ($(this).val() !== 'anonymous' && $(this).val() !== 'authenticated');
});
$authenticated.on('click', function () {
@ -32,7 +32,7 @@
if ($authenticated.is(':checked')) {
$checkboxes.prop('checked', true).attr('disabled', true);
}
})
});
}
};