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

@ -0,0 +1,26 @@
/**
* @file
* Dropbutton feature.
*/
(function ($, Drupal) {
'use strict';
// Make sure that dropButton behavior exists.
if (!Drupal.behaviors.dropButton) {
return;
}
/**
* Wrap Drupal's dropbutton behavior so that the dropbutton widget is only visible after it is initialized.
*/
var dropButton = Drupal.behaviors.dropButton;
Drupal.behaviors.dropButton = {
attach: function (context, settings) {
dropButton.attach(context, settings);
$(context).find('.webform-dropbutton .dropbutton-wrapper').once('webform-dropbutton').css('visibility', 'visible');
}
};
})(jQuery, Drupal);