removed useless line

This commit is contained in:
mic 2024-12-10 23:11:25 +01:00
parent 8adaccae38
commit 8296296ba8

View file

@ -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')