diff --git a/framework/yii/bootstrap/Widget.php b/framework/yii/bootstrap/Widget.php index 7636239..b830a38 100644 --- a/framework/yii/bootstrap/Widget.php +++ b/framework/yii/bootstrap/Widget.php @@ -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) {