Always show total vote count
This commit is contained in:

committed by
Ben Firshman

parent
4b62828661
commit
aa05c12ab7
@ -31,8 +31,10 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="result" ng-if="total > 100">
|
||||
{{total}} votes
|
||||
<div id="result">
|
||||
<span ng-if="total == 0">No votes yet</span>
|
||||
<span ng-if="total == 1">{{total}} vote</span>
|
||||
<span ng-if="total >= 2">{{total}} votes</span>
|
||||
</div>
|
||||
<script src="socket.io.js"></script>
|
||||
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.4.5/angular.min.js"></script>
|
||||
|
Reference in New Issue
Block a user