reloading the menus when saving the add tags prompt

This commit is contained in:
Mic 2024-12-15 23:43:00 +01:00
parent 612512110a
commit 3039b5d7ef

View file

@ -55,6 +55,7 @@ document.addEventListener('DOMContentLoaded', async () => {
specialPrompts.find(prompt => prompt.id === 'prompt_add_tags').text = addtags_textarea.value;
setSpecialPrompts(specialPrompts);
addtags_save_btn.disabled = true;
browser.runtime.sendMessage({command: "reload_menus"});
});
if(addtags_prompt.text === 'prompt_add_tags_full_text'){