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