Web Dev Solutions

Catalin Mititiuc

From e7f7bf1f31a7e1f937eb3eda4ee735db04e6384e Mon Sep 17 00:00:00 2001 From: Catalin Mititiuc Date: Wed, 24 Apr 2024 16:43:14 -0700 Subject: Add two more sight line query functions --- src/modules/counter.js | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/modules/counter.js') 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)); -- cgit v1.2.3