Skip to content

Commit

Permalink
fixed issue with settings button
Browse files Browse the repository at this point in the history
  • Loading branch information
ma4nn committed Mar 25, 2024
1 parent c2a5054 commit b33d0c6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@ For more information see also [my blog post](https://dev-investor.de/finanz-apps
## Developing ⚒️

```
make dist
make test
make dist && make test
```

The compiled MoneyMoney extension can then be found in `dist/SankeyChart.lua` and installed with `make install`.
Expand Down
2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ ready(function() {
if (Math.round(numberOfMonths) == 1) {
document.querySelector("form input#isShowMonthlyValues").setAttribute('disabled', 'disabled');
}
document.querySelector("#applySettingsButton").addEventListener('click', () => { setExcludedCategoriesFromSelect(); updateChartData() });
document.querySelector("#applySettingsButton").addEventListener('click', (event) => { event.preventDefault(); setExcludedCategoriesFromSelect(); updateChartData() });

/** @see https://www.highcharts.com/docs/chart-and-series-types/sankey-diagram */
chart = Highcharts.chart('chart-container', {
Expand Down

0 comments on commit b33d0c6

Please sign in to comment.