Skip to content

Commit

Permalink
Update StarRating.php
Browse files Browse the repository at this point in the history
fix jquery variable
  • Loading branch information
rustamwin authored Aug 26, 2018
1 parent 16e0c24 commit 089c0d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion StarRating.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ protected function registerAssets()
{
$view = $this->getView();
$clientOptions = Json::encode($this->clientOptions);
$js = '$("div#' . $this->options['id'] . '").raty(' . $clientOptions . ');';
$js = 'jQuery("div#' . $this->options['id'] . '").raty(' . $clientOptions . ');';
$view->registerJs($js);
}

Expand Down

0 comments on commit 089c0d8

Please sign in to comment.