Skip to content

Commit

Permalink
Fixes #58
Browse files Browse the repository at this point in the history
  • Loading branch information
lentschi committed Oct 11, 2024
1 parent c669891 commit 98c4106
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/assets/javascripts/article-form.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ class ArticleForm {
}

initializePriceDisplay() {
mergeJQueryObjects([this.price$, this.priceUnit$]).on('change keyup', () => {
mergeJQueryObjects([this.price$, this.priceUnit$, this.tax$, this.deposit$]).on('change keyup', () => {
const price = parseFloat(this.price$.val());
const tax = parseFloat(this.tax$.val());
const deposit = parseFloat(this.deposit$.val());
Expand Down

0 comments on commit 98c4106

Please sign in to comment.