Commit a25a34d7 by Qiang Xue

Fixes #629.

parent ddc2db63
......@@ -71,7 +71,7 @@ class Widget extends \yii\base\Widget
BootstrapAsset::register($view);
}
/** @var \yii\web\AssetBundle $assetClass */
$assetClass = 'yii\bootstrap\\' . ucfirst($name);
$assetClass = 'yii\bootstrap\\' . ucfirst($name) . 'Asset';
$assetClass::register($view);
if ($this->clientOptions !== false) {
......
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