debug: 🐛 Log each button

This commit is contained in:
ThatOneCalculator 2022-03-22 13:19:59 -07:00
parent 0610f5bba2
commit 331abc7c8d
1 changed files with 2 additions and 1 deletions

View File

@ -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