diff --git a/dockerfiles/grist/ressources/dinum-custom.js b/dockerfiles/grist/ressources/dinum-custom.js index a9dcc9d..345662f 100644 --- a/dockerfiles/grist/ressources/dinum-custom.js +++ b/dockerfiles/grist/ressources/dinum-custom.js @@ -80,7 +80,7 @@ // START gauffre // ======================== -window.onload = (event) => { +window.addEventListener('load', (event) => { const pathname = window.location.pathname; // Gauffre is only inserted on grist home page