Browse Source

removed tabindex attribute

tags/2.0.0-beta
Qiang Xue 12 years ago
parent
commit
e96ef1f40b
  1. 2
      framework/yii/bootstrap/Tabs.php

2
framework/yii/bootstrap/Tabs.php

@ -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.");

Loading…
Cancel
Save