css fixes for score containers
This commit is contained in:
+4
-6
@@ -162,22 +162,20 @@ Interface.prototype.setPlaying = function(playing) {
|
||||
|
||||
Interface.prototype.setPlayer = function(player) {
|
||||
this.playerScore.innerHTML = player.score;
|
||||
var zilchs = " ";
|
||||
var zilchs = '';
|
||||
for (var i = 0; i < player.zilch; i++) {
|
||||
zilchs += "◾"
|
||||
zilchs += '<div class="point"></div>';
|
||||
}
|
||||
zilchs += " ";
|
||||
this.playerZilch.innerHTML = zilchs;
|
||||
|
||||
};
|
||||
|
||||
Interface.prototype.setCpu = function(cpu) {
|
||||
this.cpuScore.innerHTML = cpu.score;
|
||||
var zilchs = " ";
|
||||
var zilchs = '';
|
||||
for (var i = 0; i < cpu.zilch; i++) {
|
||||
zilchs += "◾"
|
||||
zilchs += '<div class="point"></div>';
|
||||
}
|
||||
zilchs += " ";
|
||||
|
||||
this.cpuZilch.innerHTML = zilchs;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user