mirror of
https://github.com/Oreolek/ifhub.club.git
synced 2024-06-26 11:40:48 +03:00
fix голосования
This commit is contained in:
parent
093cf33680
commit
6fe439f292
|
@ -76,7 +76,7 @@ ls.vote = (function ($) {
|
|||
|
||||
if (result.iRating > 0) {
|
||||
divVoting.addClass(this.options.classes.positive);
|
||||
divTotal.text(result.iRating);
|
||||
divTotal.text('+'+result.iRating);
|
||||
}
|
||||
if (result.iRating < 0) {
|
||||
divVoting.addClass(this.options.classes.negative);
|
||||
|
|
|
@ -76,7 +76,7 @@ ls.vote = (function ($) {
|
|||
|
||||
if (result.iRating > 0) {
|
||||
divVoting.addClass(this.options.classes.positive);
|
||||
divTotal.text(result.iRating);
|
||||
divTotal.text('+'+result.iRating);
|
||||
}
|
||||
if (result.iRating < 0) {
|
||||
divVoting.addClass(this.options.classes.negative);
|
||||
|
|
Loading…
Reference in a new issue