diff options
-rw-r--r-- | play.js | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -200,7 +200,7 @@ function is_action(action) { function on_log(text) { // eslint-disable-line no-unused-vars
- console.log('on_log called')
+
let p = document.createElement("div")
@@ -313,7 +313,7 @@ function on_update() { if (piece.demInfl > 0) {
dem_marker.style.display = 'block';
dem_number.style.display = 'block';
- console.log('piece', piece, 'space', space)
+
if(check_dem_control(piece, space)){
dem_marker.classList.add('controlled')
dem_number.classList.add('outlined_text')
@@ -362,7 +362,7 @@ function on_update() { marker.style.display = 'block'
times_held.classList.add('outlined_text')
} else if (view.times_held[country] > 0 ) {
- console.log('setting ', country)
+ //console.log('setting ', country)
marker.classList.add('held')
marker.style.display = 'block'
times_held.innerHTML = view.times_held[country]
|