MCPcopy Create free account
hub / github.com/Vishal-raj-1/Awesome-JavaScript-Projects / removeCartItem

Function removeCartItem

assets/js/store.js:38–42  ·  view source on GitHub ↗
(event)

Source from the content-addressed store, hash-verified

36}
37
38function removeCartItem(event) {
39 var buttonClicked = event.target
40 buttonClicked.parentElement.parentElement.remove()
41 updateCartTotal()
42}
43
44function quantityChanged(event) {
45 var input = event.target

Callers

nothing calls this directly

Calls 1

updateCartTotalFunction · 0.70

Tested by

no test coverage detected