We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 964663d commit aeb989eCopy full SHA for aeb989e
src/BootstrapBlazor/Components/Message/Message.razor.js
@@ -46,7 +46,6 @@ export function show(id, msgId) {
46
el.classList.add('show');
47
48
const close = () => {
49
- EventHandler.off(el, 'click')
50
el.classList.add("d-none");
51
52
msg.items = msg.items.filter(i => i.el.id !== msgId);
@@ -59,7 +58,9 @@ export function show(id, msgId) {
59
58
60
const alert = e.delegateTarget.closest('.alert');
61
if (alert) {
+ EventHandler.off(el, 'click')
62
alert.classList.add("d-none");
63
+
64
const alertId = alert.getAttribute('id');
65
msg.items = msg.items.filter(i => i.el.id !== alertId);
66
await msg.invoke.invokeMethodAsync('Dismiss', alertId);
0 commit comments