mirror of
https://github.com/yiisoft/yii2.git
synced 2025-08-26 06:15:19 +08:00
Fixed typo in output client scripts [skip ci]
This commit is contained in:

committed by
Alexander Makarov

parent
6330a2b779
commit
b7a96a8eb5
@ -187,7 +187,7 @@ $message = \yii\helpers\Json::htmlEncode(
|
||||
\Yii::t('app', 'Button clicked!')
|
||||
);
|
||||
$this->registerJs(<<<JS
|
||||
$('#myButton').on('click', function() { alert( $message ); });",
|
||||
$('#myButton').on('click', function() { alert( $message ); });
|
||||
JS
|
||||
);
|
||||
```
|
||||
|
Reference in New Issue
Block a user