blob: 412f5859cd18ffa5d86c556fd71f255ca3c48794 [file] [log] [blame]
window.addEventListener("load", function() {
document.querySelector(".addcategory").addEventListener("click", function() {
document.querySelector("#addcategory").showModal();
/* Or dialog.show(); to show the dialog without a backdrop. */
});
});