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

Commit ac9ca70

Browse files
Merge pull request #89 from rberlind/master
forgot to copy closing } after return order()
2 parents 3fad5ed + c3eebf2 commit ac9ca70

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)