Skip to content

Commit 69d44cf

Browse files
committed
refactor: 移除 Disabled 状态判断
1 parent bce62d4 commit 69d44cf

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

src/components/BootstrapBlazor.Region/Components/Region.razor.js

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,7 @@ export function init(id) {
66
if (el === null) {
77
return
88
}
9-
const popover = Popover.init(el, {
10-
isDisabled: () => {
11-
return el.querySelector('.dropdown-toggle').getAttribute('disabled') === 'disabled'
12-
}
13-
});
9+
const popover = Popover.init(el);
1410

1511
Data.set(id, { el, popover });
1612
}

0 commit comments

Comments
 (0)