removed tabindex attribute

This commit is contained in:
Qiang Xue
2013-07-26 08:06:54 -04:00
parent 3bef7365f1
commit e96ef1f40b

View File

@ -140,7 +140,7 @@ class Tabs extends Widget
Html::addCssClass($options, '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);
} else {
throw new InvalidConfigException("Either the 'content' or 'items' option must be set.");