Skip to content

Commit 183b32b

Browse files
authored
Update orders.html
1 parent a363ba3 commit 183b32b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/api/orders.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
{"status": 400, "error": "Invaild Request - Username does not exist in orders database"}
2828
</div>
2929
<!-- MyScratchedAccount's Completed Orders -->
30-
<div id="myscratchedaccount" class="dynamic-content">
30+
<div id="MyScratchedAccount" class="dynamic-content">
3131
{"status": 500, "completed-orders": 6, "pending-orders": 0}
3232
<br>
3333
</div>
@@ -69,8 +69,8 @@ <h2>Staff3</h2>
6969
$(document).ready(function() {
7070

7171
// Check if the URL parameter is apples
72-
if (dynamicContent == 'myscratchedaccount') {
73-
$('#myscratchedaccount').show();
72+
if (dynamicContent == 'MyScratchedAccount') {
73+
$('#MyScratchedAccount').show();
7474
}
7575
// Check if the URL parameter is oranges
7676
else if (dynamicContent == 'staff2') {

0 commit comments

Comments
 (0)