Skip to content
This repository was archived by the owner on Dec 5, 2023. It is now read-only.

Commit c3eebf2

Browse files
author
Roger Berlind
committed
forgot to copy closing } after return order()
1 parent d87d89f commit c3eebf2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

public/basket.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -408,7 +408,8 @@ <h4>Coupon code</h4>
408408
$('#orderButton').click(function(event) {
409409
if (orderPlaced == false) {
410410
orderPlaced = true;
411-
return order();
411+
return order();
412+
}
412413
});
413414
}
414415
$('#numItemsInCart').text('You currently have ' + numItemsInCart + ' item(s) in your cart.');

0 commit comments

Comments
 (0)