Commit e96ef1f4 by Qiang Xue

removed tabindex attribute

parent 3bef7365
...@@ -140,7 +140,7 @@ class Tabs extends Widget ...@@ -140,7 +140,7 @@ class Tabs extends Widget
Html::addCssClass($options, 'active'); Html::addCssClass($options, 'active');
Html::addCssClass($headerOptions, 'active'); Html::addCssClass($headerOptions, 'active');
} }
$header = Html::a($label, '#' . $options['id'], array('data-toggle' => 'tab', 'tabindex' => '-1')); $header = Html::a($label, '#' . $options['id'], array('data-toggle' => 'tab'));
$panes[] = Html::tag('div', $item['content'], $options); $panes[] = Html::tag('div', $item['content'], $options);
} else { } else {
throw new InvalidConfigException("Either the 'content' or 'items' option must be set."); throw new InvalidConfigException("Either the 'content' or 'items' option must be set.");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment