Fixed typo in output client scripts [skip ci]

This commit is contained in:
Vishal Bhalodiya
2017-10-26 00:20:35 +05:30
committed by Alexander Makarov
parent 6330a2b779
commit b7a96a8eb5
2 changed files with 2 additions and 2 deletions

View File

@ -187,7 +187,7 @@ $message = \yii\helpers\Json::htmlEncode(
\Yii::t('app', 'Button clicked!') \Yii::t('app', 'Button clicked!')
); );
$this->registerJs(<<<JS $this->registerJs(<<<JS
$('#myButton').on('click', function() { alert( $message ); });", $('#myButton').on('click', function() { alert( $message ); });
JS JS
); );
``` ```

View File

@ -183,7 +183,7 @@ $message = \yii\helpers\Json::htmlEncode(
\Yii::t('app', 'Button clicked!') \Yii::t('app', 'Button clicked!')
); );
$this->registerJs(<<<JS $this->registerJs(<<<JS
$('#myButton').on('click', function() { alert( $message ); });", $('#myButton').on('click', function() { alert( $message ); });
JS JS
); );
``` ```