From 089c0d840f4d93dc23aeb8af514c6fe3b7557676 Mon Sep 17 00:00:00 2001 From: Rustam Mamadaminov Date: Sun, 26 Aug 2018 22:15:52 +0500 Subject: [PATCH] Update StarRating.php fix jquery variable --- StarRating.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/StarRating.php b/StarRating.php index 1526a72..6b293ee 100644 --- a/StarRating.php +++ b/StarRating.php @@ -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); }