From 8296296ba85c4e3c6377f1f9173f1795e510d529 Mon Sep 17 00:00:00 2001 From: mic Date: Tue, 10 Dec 2024 23:11:25 +0100 Subject: [PATCH] removed useless line --- popup/mzta-popup.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/popup/mzta-popup.js b/popup/mzta-popup.js index da7e3aa6..87f7fafd 100644 --- a/popup/mzta-popup.js +++ b/popup/mzta-popup.js @@ -159,8 +159,6 @@ async function searchPrompt(allPrompts, tabId, tabType){ // Add a keydown event listener to handle arrow navigation and selection input.addEventListener('keydown', async function (e) { - let prompt_add_tags = document.getElementById('prompt_add_tags-item'); - const items = autocompleteList.getElementsByClassName('mzta_autocomplete-item'); if ((autocompleteList.style.display === 'none' || items.length === 0) && (e.key !== 'Enter')