diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2023-11-07 09:54:01 -0500 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2023-11-07 09:54:01 -0500 |
commit | bdb707fb2d79f1e1c8bf139de536ef3cf82b862b (patch) | |
tree | 8d7ae5a260c8f9b1cb8362fedc46b06437938bef /app/assets | |
parent | f83b4a60b32f88720b583bd2b4a4d91995d0df77 (diff) | |
download | wittle-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.js | 2 |
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 |