Skip to content

Commit

Permalink
Merge pull request #5 from rustamwin/patch-1
Browse files Browse the repository at this point in the history
Update StarRating.php
  • Loading branch information
Igor Chepurnoy authored Aug 27, 2018
2 parents 16e0c24 + 089c0d8 commit 50e33bb
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 50e33bb

Please sign in to comment.