diff --git a/script.js b/script.js index 16e8e3d..9c44e82 100644 --- a/script.js +++ b/script.js @@ -40,5 +40,4 @@ window.addEventListener('keydown', function(e) { } }, true) -// I don't know a good way to trigger rerender automatically yet -//document.addEventListener('DOMContentLoaded', rerender_all, false); +window.addEventListener('click', function() {rerender_all()}, true)