Skip to content

Commit

Permalink
Fixed error message
Browse files Browse the repository at this point in the history
  • Loading branch information
chiliec committed May 19, 2018
1 parent 5b85f04 commit 10ea278
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@ Next steps will guide you through the process of installing yii2-vote using **co
Run command

```
php composer.phar require --prefer-dist chiliec/yii2-vote "^4.1"
php composer.phar require --prefer-dist chiliec/yii2-vote "^4.2"
```

or add

```
"chiliec/yii2-vote": "^4.1"
"chiliec/yii2-vote": "^4.2"
```

to the require section of your `composer.json` file.
Expand Down
2 changes: 1 addition & 1 deletion widgets/Vote.php
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ function vote(model, target, act) {
$this->jsAfterVote
},
error: function(jqXHR, textStatus, errorThrown) {
errorMessage
$errorMessage
}
});
}
Expand Down

0 comments on commit 10ea278

Please sign in to comment.