Focus back on the parent window when an item in context menu is clicked

This commit is contained in:
Nariman Jelveh
2024-06-15 23:17:45 -07:00
parent e466dc8057
commit c35ecec5a4

View File

@@ -422,6 +422,8 @@ window.addEventListener('message', async (event) => {
if (item.action !== undefined) {
item.action();
}
// focus the window
$(el_window).focusWindow();
},
items: item.items ? sanitize_items(item.items) : undefined
};