Skip to content

Commit a0834cd

Browse files
authored
refactor(Validate): update dispose method (#6108)
1 parent 4ad4ea4 commit a0834cd

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/BootstrapBlazor/wwwroot/modules/validate.js

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,7 @@ export function dispose(id) {
3333
if (el) {
3434
const tip = bootstrap.Tooltip.getInstance(el)
3535
if (tip) {
36-
const handler = setTimeout(() => {
37-
clearTimeout(handler)
38-
if (tip && tip._element) {
39-
tip.dispose()
40-
}
41-
}, 100);
36+
tip.dispose()
4237
}
4338
}
4439
}

0 commit comments

Comments
 (0)