index : btroops | |
Virtual board game-aid for BattleTroops, an infantry combat simulator wargame published by FASA in 1989. |
aboutsummaryrefslogtreecommitdiff |
diff options
author | Catalin Mititiuc <webdevcat@proton.me> | 2024-04-24 16:43:14 -0700 |
---|---|---|
committer | Catalin Mititiuc <webdevcat@proton.me> | 2024-04-24 16:43:14 -0700 |
commit | e7f7bf1f31a7e1f937eb3eda4ee735db04e6384e (patch) | |
tree | d26c4f94b9e79d4a06cbc75f955100761944adc9 /src/modules/counter.js | |
parent | accff86ae105908dcd740ebfc1f0e1af5d26d366 (diff) |
Add two more sight line query functions
Diffstat (limited to 'src/modules/counter.js')
-rw-r--r-- | src/modules/counter.js | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/modules/counter.js b/src/modules/counter.js index 591f09b..69552d8 100644 --- a/src/modules/counter.js +++ b/src/modules/counter.js @@ -1,6 +1,5 @@ const svgns = "http://www.w3.org/2000/svg"; - export default class Counter { constructor(svg) { this.svg = svg; @@ -60,8 +59,6 @@ export default class Counter { let points, counterNodeList = this.getCounterAndClones(selected); - console.log(selected, counterNodeList); - if (counterNodeList.length > 0 && selected.parentElement.hasAttribute('data-x')) { let trace = this.svg.querySelector(this.traceSelector(selected)); |