complete strings document, adjust structure

This commit is contained in:
2023-03-31 09:10:13 +08:00
parent 877e9e7208
commit b04917109d
12 changed files with 94 additions and 15 deletions

View File

@ -49,6 +49,9 @@ function setTooltip(container, content) {
}
function resolveTooltip(container) {
if (container == null) {
container = document.body;
}
const tips = container.querySelectorAll('[title]');
for (let tip of tips) {
const title = tip.getAttribute('title');