From f41abae49c7aaa46037ca5fcec25077ad00d7f9b Mon Sep 17 00:00:00 2001 From: iulian Preuteasa <96450722+iulianPreuteasa@users.noreply.github.com> Date: Mon, 23 Jan 2023 12:06:26 +0000 Subject: [PATCH] changing from getElementById to querySelector --- debug/pixelorigin.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debug/pixelorigin.js b/debug/pixelorigin.js index 4eb3ec18e..2cd40a2e4 100644 --- a/debug/pixelorigin.js +++ b/debug/pixelorigin.js @@ -50,7 +50,7 @@ const map; const imagePixelCoords = map.project(trd, map.getZoom()); const imageOffset = img._image._leaflet_pos; - document.getElementById('info').innerHTML = + document.querySelector('#info').innerHTML = '