From 6e9156408e687410a60994c406cf240f375d9531 Mon Sep 17 00:00:00 2001 From: liamcottle Date: Wed, 21 Aug 2024 23:18:21 +1200 Subject: [PATCH] close node info tooltip as position history shows under it --- src/public/index.html | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/public/index.html b/src/public/index.html index 632fb76..b3737c4 100644 --- a/src/public/index.html +++ b/src/public/index.html @@ -2605,6 +2605,9 @@ this.selectedNode = null; this.selectedNodeToShowPositionHistory = node; + // close node info tooltip as position history shows under it + window.closeAllTooltips(); + // reset default time range when opening position history ui // YYYY-MM-DDTHH:mm is the format expected by the datetime-local input type this.positionHistoryDateTimeFrom = moment().subtract(1, "hours").format('YYYY-MM-DDTHH:mm');