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 8143f1f commit d894f8fCopy full SHA for d894f8f
src/BootstrapBlazor/Components/Message/Message.razor.js
@@ -8,20 +8,20 @@ export function init(id, invoke) {
8
}
9
10
export function show(id, msgId) {
11
- const msg = Data.get(id)
12
const el = document.getElementById(msgId)
13
if (el === null) {
14
return
15
16
+ const msg = Data.get(id)
17
let msgItem = msg.items.find(i => i.el.id === msgId)
18
if (msgItem === void 0) {
19
msgItem = { el, animationId: null }
20
msg.items.push(msgItem)
21
22
23
if (msgItem.animationId) {
24
- cancelAnimationFrame(msgItem.animationId);
+ return;
25
26
27
const autoHide = el.getAttribute('data-bb-autohide') === 'true';
0 commit comments