diff --git a/BTCPayServer/wwwroot/crowdfund/services/fireworks.js b/BTCPayServer/wwwroot/crowdfund/services/fireworks.js index 796b4e359..2cefdf103 100644 --- a/BTCPayServer/wwwroot/crowdfund/services/fireworks.js +++ b/BTCPayServer/wwwroot/crowdfund/services/fireworks.js @@ -1,6 +1,7 @@ document.addEventListener("DOMContentLoaded",function (ev) { var c = document.getElementById("fireworks"); var ctx = c.getContext("2d"); +if (!ctx) return; var cH; var cW;