From 0cd5ecdfde6f03e2c44917ddfd9b23766660b483 Mon Sep 17 00:00:00 2001 From: Jakob Miksch Date: Mon, 8 Aug 2022 15:29:20 +0200 Subject: [PATCH] Minor simplification --- examples/tracing.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/tracing.js b/examples/tracing.js index 8b4ef312c6..e3854b3ad1 100644 --- a/examples/tracing.js +++ b/examples/tracing.js @@ -249,7 +249,7 @@ function addInteraction() { if (value !== 'None') { drawInteraction = new Draw({ source: drawVector.getSource(), - type: typeSelect.value, + type: value, }); drawInteraction.on('drawstart', () => { drawing = true;