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 9d9e8e1 commit ce8eecdCopy full SHA for ce8eecd
src/BootstrapBlazor/Components/Button/PopConfirmButton.razor.js
@@ -31,9 +31,8 @@ export function init(id) {
31
confirm.inserted = () => {
32
const popover = getDescribedElement(el)
33
const children = confirm.container.children
34
- const len = children.length
35
- for (let i = 0; i < len; i++) {
36
- popover.appendChild(children[i])
+ while (children.length > 0) {
+ popover.appendChild(children[0])
37
}
38
39
confirm.hide = () => {
0 commit comments