add dropdown component
This commit is contained in:
@ -49,9 +49,7 @@ function setTooltip(container, content) {
|
||||
}
|
||||
|
||||
function resolveTooltip(container) {
|
||||
if (container == null) {
|
||||
container = document.body;
|
||||
}
|
||||
container ??= document.body;
|
||||
const tips = container.querySelectorAll('[title]');
|
||||
for (let tip of tips) {
|
||||
const title = tip.getAttribute('title');
|
||||
|
Reference in New Issue
Block a user