From 694f42f230fe419298f3fb02a4dfbb9afdaf7e80 Mon Sep 17 00:00:00 2001 From: Kyle Gillett Date: Mon, 20 Jan 2025 23:28:30 -0600 Subject: [PATCH] split id string in raob map js --- docs/raob_map_anvil.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/raob_map_anvil.html b/docs/raob_map_anvil.html index b636166..3e9662e 100644 --- a/docs/raob_map_anvil.html +++ b/docs/raob_map_anvil.html @@ -2552,7 +2552,7 @@ infoWindow.open(map, marker); // Trigger clipboard copy action on user interaction - navigator.clipboard.writeText(raobSites[index].id).then(function() { + navigator.clipboard.writeText(raobSites[index].id.split(' | ')[0]).then(function() { alert('Site ID copied to clipboard!'); }).catch(function(err) { console.error('Failed to copy text: ', err);