Skip to content

Commit

Permalink
Fix dockerfiles/grist/ressources/dinum-custom.js
Browse files Browse the repository at this point in the history
Avoid window.onload potential overwrite

Co-authored-by: Florent <[email protected]>
  • Loading branch information
hexaltation and fflorent authored Jun 6, 2024
1 parent a755ed0 commit 023df2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dockerfiles/grist/ressources/dinum-custom.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 023df2a

Please sign in to comment.