(event)
| 42 | } |
| 43 | |
| 44 | function quantityChanged(event) { |
| 45 | var input = event.target |
| 46 | if (isNaN(input.value) || input.value <= 0) { |
| 47 | input.value = 1 |
| 48 | } |
| 49 | updateCartTotal() |
| 50 | } |
| 51 | |
| 52 | function addToCartClicked(event) { |
| 53 | var button = event.target |
nothing calls this directly
no test coverage detected