Open main menu
Home
Random
Nearby
Log in
Settings
About Kancolle Wiki
Disclaimers
Kancolle Wiki
Search
Changes
← Older edit
Newer edit →
User:Dragonjet/scripts/VotingTemplate.js
(view source)
Revision as of 03:50, 18 August 2014
74 bytes added
,
9 years ago
m
added count
Line 17:
Line 17:
}
}
$(".sc_tally_bar", this).css("width", sc_tally_percent+"%");
$(".sc_tally_bar", this).css("width", sc_tally_percent+"%");
+
$(".sc_tally_count", this).text(sc_votes[$(this).attr("data-value")]);
$(".sc_tally_val", this).text(Math.round(sc_tally_percent)+"%");
$(".sc_tally_val", this).text(Math.round(sc_tally_percent)+"%");
});
});
}
}
});
});
Dragonjet
15
edits