Skip to content

Instantly share code, notes, and snippets.

@imWildCat
Last active June 27, 2023 03:23
Show Gist options
  • Save imWildCat/69c1ce63aeb3d25ce35a7f6ef071f6a3 to your computer and use it in GitHub Desktop.
Save imWildCat/69c1ce63aeb3d25ce35a7f6ef071f6a3 to your computer and use it in GitHub Desktop.
Fava checkmarks
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