mirror of https://github.com/zer0bin-dev/zer0bin
style: 🎨 Clean up tooltip code
This commit is contained in:
parent
21c25dce94
commit
01cffc24d5
|
@ -86,11 +86,7 @@ function callback() {
|
|||
theme = "rosepine-extended"
|
||||
}
|
||||
|
||||
console.log(theme)
|
||||
|
||||
const allButtons = document.querySelectorAll("button")
|
||||
|
||||
allButtons.forEach(function (btn) {
|
||||
document.querySelectorAll("button").forEach(function (btn) {
|
||||
//@ts-ignore
|
||||
btn._tippy.setProps({ theme: theme })
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue