summaryrefslogtreecommitdiff
path: root/src/engine/visual/placeOnBoard.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine/visual/placeOnBoard.js')
-rw-r--r--src/engine/visual/placeOnBoard.js28
1 files changed, 14 insertions, 14 deletions
diff --git a/src/engine/visual/placeOnBoard.js b/src/engine/visual/placeOnBoard.js
index 4eea0d6..6e04e0d 100644
--- a/src/engine/visual/placeOnBoard.js
+++ b/src/engine/visual/placeOnBoard.js
@@ -7,22 +7,22 @@ const MEDIA_LISTENER = window.matchMedia("(max-width: 600px)")
MEDIA_LISTENER.addEventListener("change", function() {
Array.from(board.stones)
- .forEach(x => {
- Array.from(x)
- .filter((x) => x !== undefined)
- .map(y => {
- y.update(MEDIA_LISTENER)
- })
- })
+ .forEach(x => {
+ Array.from(x)
+ .filter((x) => x !== undefined)
+ .map(y => {
+ y.update(MEDIA_LISTENER)
+ })
+ })
Array.from(board.links)
- .forEach(x => {
- Array.from(x)
- .filter((x) => x !== undefined)
- .map(y => {
- y.update(MEDIA_LISTENER)
- })
- })
+ .forEach(x => {
+ Array.from(x)
+ .filter((x) => x !== undefined)
+ .map(y => {
+ y.update(MEDIA_LISTENER)
+ })
+ })
});
const PLACE_VALUES = {