blob: a2360643d4b5cdf87b535ecf6677d17a8537fb73 [file] [log] [blame]
Copybara botbe50d492023-11-30 00:16:42 +01001window.addEventListener("load", function() {
2 document.querySelector(".addtemplate").addEventListener("click", function() {
3 document.querySelector("#addtemplate").showModal();
4 /* Or dialog.show(); to show the dialog without a backdrop. */
5 });
6});