Last active
June 27, 2023 03:23
-
-
Save imWildCat/69c1ce63aeb3d25ce35a7f6ef071f6a3 to your computer and use it in GitHub Desktop.
Fava checkmarks
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for (const d of document.querySelectorAll('.change.num')) { | |
const c = document.createElement('input'); | |
c.type = 'checkbox'; | |
d.insertBefore(c, d.lastElementChild); | |
} | |
// credit: @upsuper |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment