mirror of https://github.com/zer0bin-dev/zer0bin
debug: 🐛 Log each button
This commit is contained in:
parent
0610f5bba2
commit
331abc7c8d
|
@ -75,7 +75,7 @@ tippy("#github-button", {
|
|||
allowHTML: true,
|
||||
})
|
||||
|
||||
let observer = new MutationObserver(callback)
|
||||
const observer = new MutationObserver(callback)
|
||||
|
||||
function callback() {
|
||||
let theme = ""
|
||||
|
@ -89,6 +89,7 @@ function callback() {
|
|||
console.log(theme)
|
||||
|
||||
for (const i in document.querySelectorAll(".btn")) {
|
||||
console.log(i)
|
||||
//@ts-ignore
|
||||
console.log(i._tippy)
|
||||
//@ts-ignore
|
||||
|
|
Loading…
Reference in New Issue