about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--app/assets/javascripts/wittle/trace2.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/wittle/trace2.js b/app/assets/javascripts/wittle/trace2.js index a3ef343..e36e4bd 100644 --- a/app/assets/javascripts/wittle/trace2.js +++ b/app/assets/javascripts/wittle/trace2.js
@@ -68,7 +68,7 @@ class BoundingBox {
68 var cell1 = data.puzzle.getCell(data.pos.x, data.pos.y) 68 var cell1 = data.puzzle.getCell(data.pos.x, data.pos.y)
69 var cell2 = data.puzzle.getSymmetricalCell(data.pos.x, data.pos.y) 69 var cell2 = data.puzzle.getSymmetricalCell(data.pos.x, data.pos.y)
70 70
71 if (cell1.end !== cell2.end) { 71 if ((cell1.end == null) != (cell2.end == null)) {
72 var cell = {'end': 'none'} 72 var cell = {'end': 'none'}
73 } else if (this.sym !== true) { 73 } else if (this.sym !== true) {
74 var cell = cell1 74 var cell = cell1