Skip to content

Commit

Permalink
Merge pull request #1345 from sacr3dc0w/master
Browse files Browse the repository at this point in the history
Fix eslint warning in cart.js focus event from #1338
  • Loading branch information
Ubersmake committed Sep 14, 2018
2 parents 4bf8a56 + 6885aa5 commit 3deafa6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/js/theme/cart.js
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ export default class Cart extends PageManager {
});

// cart qty manually updates
$('.cart-item-qty-input', this.$cartContent).on('focus', function () {
$('.cart-item-qty-input', this.$cartContent).on('focus', () => {
preVal = this.value;
}).change(event => {
const $target = $(event.currentTarget);
Expand Down

0 comments on commit 3deafa6

Please sign in to comment.