Skip to content
Snippets Groups Projects
Commit a0694461 authored by Nils Destoop's avatar Nils Destoop
Browse files

#3275144: Remove the blind option

parent b66c19f5
Branches
Tags
No related merge requests found
Pipeline #188199 failed
......@@ -64,8 +64,6 @@
$wrapper.hasClass('speed-none')
) {
$('> .field-group-wrapper', wrapper).toggle();
} else if ($wrapper.hasClass('effect-blind')) {
$('> .field-group-wrapper', wrapper).toggle('blind', {}, speed);
} else {
$('> .field-group-wrapper', wrapper).toggle(speed);
}
......
......@@ -67,11 +67,6 @@ class HtmlElement extends RenderElement {
$element['#attributes']['classes'] = array_merge($element['#attributes']['classes'], $classes);
}
// Add jquery ui effects library for the blind effect.
if ($element['#effect'] == 'blind') {
$element['#attached']['library'][] = 'core/jquery.ui.effects.blind';
}
}
return $element;
......
......@@ -179,7 +179,6 @@ class HtmlElement extends FieldGroupFormatterBase {
'#options' => [
'none' => $this->t('None'),
'collapsible' => $this->t('Collapsible'),
'blind' => $this->t('Blind'),
],
'#default_value' => $this->getSetting('effect'),
'#weight' => 6,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment