diff --git a/flexmeasures/ui/templates/base.html b/flexmeasures/ui/templates/base.html index 8bc076807..888d6ec42 100644 --- a/flexmeasures/ui/templates/base.html +++ b/flexmeasures/ui/templates/base.html @@ -365,7 +365,7 @@ }); } - // even lister to refresh graph + // event listener to refresh graph document.addEventListener('refreshGraph', async function() { await embedAndLoad(chartSpecsPath + 'event_starts_after=' + storeStartDate.toISOString() + '&event_ends_before=' + storeEndDate.toISOString() + '&', elementId, datasetName, previousResult, storeStartDate, storeEndDate); }) diff --git a/flexmeasures/ui/templates/crud/asset.html b/flexmeasures/ui/templates/crud/asset.html index 89b1d15d0..f33c36892 100644 --- a/flexmeasures/ui/templates/crud/asset.html +++ b/flexmeasures/ui/templates/crud/asset.html @@ -394,8 +394,8 @@