mirror of
https://github.com/yiisoft/yii2.git
synced 2025-08-26 06:15:19 +08:00
Added missing bracket
This commit is contained in:
@ -583,7 +583,7 @@ class View extends \yii\base\View
|
||||
$lines[] = Html::script($js, ['type' => 'text/javascript']);
|
||||
}
|
||||
if (!empty($this->js[self::POS_LOAD])) {
|
||||
$js = "jQuery(function ($) {\n$(window).on('load', function () {\n" . implode("\n", $this->js[self::POS_LOAD]) . "\n}\n});";
|
||||
$js = "jQuery(function ($) {\n$(window).on('load', function () {\n" . implode("\n", $this->js[self::POS_LOAD]) . "\n});\n});";
|
||||
$lines[] = Html::script($js, ['type' => 'text/javascript']);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user