From 9601cbb66683480ef8f1033fab8175373d2b468f Mon Sep 17 00:00:00 2001 From: sangge <2251250136@qq.com> Date: Sun, 24 Dec 2023 23:26:51 +0800 Subject: [PATCH] fix: show eliza dishes --- elizabethgame.html | 12 ++++++------ js/elizabethgame.js | 10 +++++----- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/elizabethgame.html b/elizabethgame.html index 78c7a82..04abf6e 100644 --- a/elizabethgame.html +++ b/elizabethgame.html @@ -74,23 +74,23 @@
fish_chip + onclick="handleClick('fish&chips');">
english_breakfast + onclick="handleClick('breakfast');">
pudding + onclick="handleClick('pudding');">
Spaghetti_Bolognese + onclick="handleClick('spaghtti');">
- cream_tea + cream_tea
diff --git a/js/elizabethgame.js b/js/elizabethgame.js index fea2088..2f4ca5e 100644 --- a/js/elizabethgame.js +++ b/js/elizabethgame.js @@ -159,11 +159,11 @@ document.addEventListener("DOMContentLoaded", function() { showElement("#dialogueBox img"); // Show all dishes - showElement('#champagne img'); - showElement('#cheese img'); - showElement('#crepe img'); - showElement('#foie-gras img'); - showElement('#onion-soup img'); + showElement('#fish_chips img'); + showElement('#english_breakfast img'); + showElement('#pudding img'); + showElement('#spaghetti_bolognes img'); + showElement('#cream_tea img'); // Show a random customer showElement(customers[RandomCustomerIndex][0]);