Skip to content

Commit

Permalink
fix issue with clear cart button
Browse files Browse the repository at this point in the history
  • Loading branch information
TheNoobGoda committed Jun 14, 2022
1 parent 9bb56ce commit 25328c8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 0 deletions.
Binary file modified database/restaurants.db
Binary file not shown.
1 change: 1 addition & 0 deletions javascript/cart-script.js
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ function clearCart(){
}

updateCartTotal()
ids.clear()
}

window.addEventListener("load", clearCart)
Expand Down

0 comments on commit 25328c8

Please sign in to comment.