Skip to content

Commit

Permalink
payday fix yoseph
Browse files Browse the repository at this point in the history
  • Loading branch information
AndyHubert committed Aug 5, 2024
1 parent 40219db commit 2315901
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion yoseph/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,11 +69,12 @@ document.querySelector(`#pay-enter`).addEventListener(`click`, () => {
document.querySelector(`#savings-total`).innerHTML = Savings
document.querySelector(`#pay-amount`).value = ''
const paydayHistoryItem = {
description: document.querySelector(`#pay-amount`).value,
description: 'payday',
amount: PayAmount,
date: Date.now(),
account: "payday"
}
History.push(paydayHistoryItem)
})

document.querySelector(`#stupid-expense-enter`).addEventListener(`click`, () => {
Expand Down

0 comments on commit 2315901

Please sign in to comment.