- commit
- 038e59ce0c4d61a62cbe27a98f462225375dc311
- parent
- 9028511d2c68fdfee1e5bf76a209e9c56a685d15
- Author
- Tobias Bengfort <tobias.bengfort@posteo.de>
- Date
- 2019-11-01 17:34
show infinity symbol instead of "Infinity"
Diffstat
| M | src/template.js | 2 | +- |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/template.js b/src/template.js
@@ -47,7 +47,7 @@ const renderControls = function(state) {
47 47 ]);
48 48 } else {
49 49 return h('div', {'class': 'board-controls'}, [
50 -1 state.game.tileLimit,
-1 50 state.game.tileLimit === Infinity ? '∞' : state.game.tileLimit,
51 51 ' ',
52 52 state.game.turnCounter,
53 53 ' ',