Commit 8328a091 authored by john's avatar john

2949

parent 1f385b9a
...@@ -204,7 +204,7 @@ class DocList extends \yii\db\ActiveRecord ...@@ -204,7 +204,7 @@ class DocList extends \yii\db\ActiveRecord
if ($item['url'] == yii::$app->request->url) { if ($item['url'] == yii::$app->request->url) {
$active = 'active'; $active = 'active';
} }
$list[] = Html::tag('li', Html::a($item['text'], $item['url']) . $ch, ['class' => $open]); $list[] = Html::tag('li', Html::a($item['text'], $item['url']) . $ch, ['class' => $open.' '.$active]);
if ($item['url'] == yii::$app->request->url) { if ($item['url'] == yii::$app->request->url) {
$open = 'active'; $open = 'active';
} }
......
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