feat: filtre de recherche dans la sidebar Historique IA (#98) + menus '@' et '/' depuis le menu '+' (BUG-048)
This commit is contained in:
@@ -1433,7 +1433,11 @@ class BooksLM {
|
||||
${entry.disabled ? '<span class="bookslm-ext-soon">' + t('bookslm.soon') + '</span>' : ''}
|
||||
<span class="bookslm-ext-hint">${entry.hint}</span>
|
||||
`;
|
||||
item.addEventListener('click', () => {
|
||||
item.addEventListener('click', (e) => {
|
||||
// BUG-048 — Keep the event from reaching the panel's click handler,
|
||||
// which would hide a mention/command menu opened by this action right
|
||||
// after it opens (the menu is rendered asynchronously).
|
||||
e.stopPropagation();
|
||||
if (!entry.disabled && entry.action) entry.action();
|
||||
});
|
||||
menu.appendChild(item);
|
||||
|
||||
Reference in New Issue
Block a user