From 83f53e0ff66eb15c6e5453479e386ba72111e383 Mon Sep 17 00:00:00 2001 From: Minecon724 Date: Fri, 11 Oct 2024 11:47:33 +0200 Subject: [PATCH] /ban parcel trolling me when dev and build doesn't result in the same thing --- src/map/map.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/map/map.js b/src/map/map.js index 7daff46..b33f780 100644 --- a/src/map/map.js +++ b/src/map/map.js @@ -106,7 +106,7 @@ function onNodeClick(ev, node, elem) { nodesElement.style.opacity = 1; - ele = elem.cloneNode(true); + let ele = clicked.cloneNode(true); ele.innerHTML += `

Datacenter: ${node.datacenter}

${node.description.split('\n').slice(1).join('
')}
`; ele.onclick = (ev) => {ev.stopPropagation()};