From 18faefbeb064160cda94816a605c869ee525dbca Mon Sep 17 00:00:00 2001 From: Joshua Oransky <Josh@Cazzaran.com> Date: Thu, 15 Aug 2024 15:06:40 -0700 Subject: [PATCH] chore: fixed Keyword duplication in dropdown --- templates/event-calendar/event-calendar.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/templates/event-calendar/event-calendar.js b/templates/event-calendar/event-calendar.js index ac54890..4c2a182 100644 --- a/templates/event-calendar/event-calendar.js +++ b/templates/event-calendar/event-calendar.js @@ -301,9 +301,6 @@ export default async function decorate(doc) { } const searchTermsEl = document.querySelector('#search-terms'); - for (const i in keywordsArr) { - createEl('option', {}, keywordsArr[i], keywordEl); - } document.querySelector('#search-button').addEventListener('click', () => { const category = categoryEl.value;