diff options
Diffstat (limited to 'src/static/main.js')
-rw-r--r-- | src/static/main.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/static/main.js b/src/static/main.js index 1bcf5e5..24df4ea 100644 --- a/src/static/main.js +++ b/src/static/main.js @@ -1,4 +1,4 @@ -function remove(id){ +function remove(id) { if (confirm(`Delete transaction?`)) { let request = new Request(`/ledger/${id}`, { method: 'delete', |