summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Pott2016-03-27 17:01:29 (GMT)
committerAlex Pott2016-03-27 17:01:29 (GMT)
commit48e0852c3a8edda855479c78c1366873a2e9edb3 (patch)
tree467335e4f11f7c62b387e5ff9f7c13dbd69c2620
parente6579987a98445de32ba0cabb8a66a2a0d182d7f (diff)
Issue #2677414 by blue_waters: VerticalTabs' #default_tab broken due to wrong/mismatching class name
-rw-r--r--core/lib/Drupal/Core/Render/Element/VerticalTabs.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/lib/Drupal/Core/Render/Element/VerticalTabs.php b/core/lib/Drupal/Core/Render/Element/VerticalTabs.php
index 447fc06..0852209 100644
--- a/core/lib/Drupal/Core/Render/Element/VerticalTabs.php
+++ b/core/lib/Drupal/Core/Render/Element/VerticalTabs.php
@@ -136,7 +136,7 @@ class VerticalTabs extends RenderElement {
$element[$name . '__active_tab'] = array(
'#type' => 'hidden',
'#default_value' => $element['#default_tab'],
- '#attributes' => array('class' => array('vertical-tabs-active-tab')),
+ '#attributes' => array('class' => array('vertical-tabs__active-tab')),
);
// Clean up the active tab value so it's not accidentally stored in
// settings forms.