From 41dcf6577a9ae1970b8b04062bf0b71014164338 Mon Sep 17 00:00:00 2001 From: Eli Ribble Date: Thu, 5 Feb 2026 01:59:23 +0000 Subject: [PATCH] Fix bad previous refactor --- html/static/js/address-or-report-suggestion.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/html/static/js/address-or-report-suggestion.js b/html/static/js/address-or-report-suggestion.js index 3f169626..cf82e66a 100644 --- a/html/static/js/address-or-report-suggestion.js +++ b/html/static/js/address-or-report-suggestion.js @@ -172,13 +172,13 @@ class AddressOrReportInput extends HTMLElement { } else if (type == "address") { const index = parseInt(el.dataset.index); const address = this._addresses[index]; - this.SetValue(suggestion); + this.SetValue(address); // Dispatch custom event this.dispatchEvent(new CustomEvent('address-selected', { bubbles: true, composed: true, // Allows event to cross shadow DOM boundary detail: { - location: suggestion + location: address } })); }