mirror of
https://github.com/MewoLab/AquaDX.git
synced 2025-10-25 12:02:40 +00:00
[S] Fix tooltip startup glitch
This commit is contained in:
parent
14f6b9c759
commit
65f8b587af
@ -116,6 +116,10 @@ export function tooltip(element: HTMLElement, params: { text: string } | string)
|
||||
if (!document.querySelector('.aqua-tooltip')) {
|
||||
const div = document.createElement('div')
|
||||
div.classList.add('aqua-tooltip')
|
||||
|
||||
// Initially hidden
|
||||
div.style.display = 'none'
|
||||
|
||||
document.body.appendChild(div)
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user