Update Composer, update everything
This commit is contained in:
parent
ea3e94409f
commit
dda5c284b6
19527 changed files with 1135420 additions and 351004 deletions
|
|
@ -1,6 +1,6 @@
|
|||
/**
|
||||
* @file
|
||||
* Javascript behaviors for message element integration.
|
||||
* JavaScript behaviors for message element integration.
|
||||
*/
|
||||
|
||||
(function ($, Drupal) {
|
||||
|
|
@ -31,13 +31,18 @@
|
|||
return;
|
||||
}
|
||||
|
||||
$element.show().find('.js-webform-message__link').on('click', function (event) {
|
||||
// Only show element if it's style is not set to 'display: none'.
|
||||
if ($element.attr('style') !== 'display: none;') {
|
||||
$element.show();
|
||||
}
|
||||
|
||||
$element.find('.js-webform-message__link').on('click', function (event) {
|
||||
$element[effect]();
|
||||
setClosed($element, storage, id);
|
||||
$element.trigger('close');
|
||||
event.preventDefault();
|
||||
});
|
||||
})
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
|
|
@ -84,6 +89,7 @@
|
|||
|
||||
case 'user':
|
||||
case 'state':
|
||||
case 'custom':
|
||||
$.get($element.find('.js-webform-message__link').attr('href'));
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
Reference in a new issue