From 462c6363f6301e4814d7c9fb079dba1316ad6153 Mon Sep 17 00:00:00 2001 From: lifeadventurer Date: Sat, 25 Nov 2023 18:18:02 +0800 Subject: [PATCH] fix: all bold text tag error --- fortune_generator/fortune.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/fortune_generator/fortune.js b/fortune_generator/fortune.js index 84b72b7..c4fc73b 100644 --- a/fortune_generator/fortune.js +++ b/fortune_generator/fortune.js @@ -37,9 +37,9 @@ const fortuneStatus = ["大吉", "中吉", "小吉", "吉", "末吉", "中平", const chineseMonth = ["一", "二", "三", "四", "五", "六", "七", "八", "九", "十", "十一", "十二"]; const week = ['日', '一', '二', '三', '四', '五', '六']; -const title = `今日運勢`; -const allGood = `萬事皆宜`; -const allBad = `諸事不宜`; +const title = `今日運勢`; +const allGood = `萬事皆宜`; +const allBad = `諸事不宜`; // date const d = new Date(); @@ -80,7 +80,7 @@ async function init_page(){ // show date before button pressed const showMonth = `${chineseMonth[month - 1] + "月"}`; const showDate = `${("0" + date).substr(-2)}`; - const showDay = `${"星期" + week[day]}`; + const showDay = `${"星期" + week[day]}`; $('#month').html(showMonth); $('#date').html(showDate);