about summary refs log tree commit diff stats
path: root/app/assets
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2023-11-07 09:54:01 -0500
committerStar Rauchenberger <fefferburbia@gmail.com>2023-11-07 09:54:01 -0500
commitbdb707fb2d79f1e1c8bf139de536ef3cf82b862b (patch)
tree8d7ae5a260c8f9b1cb8362fedc46b06437938bef /app/assets
parentf83b4a60b32f88720b583bd2b4a4d91995d0df77 (diff)
downloadwittle-bdb707fb2d79f1e1c8bf139de536ef3cf82b862b.tar.gz
wittle-bdb707fb2d79f1e1c8bf139de536ef3cf82b862b.tar.bz2
wittle-bdb707fb2d79f1e1c8bf139de536ef3cf82b862b.zip
fixed endpoint thing again
Diffstat (limited to 'app/assets')
-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