diff --git a/fortune_generator/fortune.js b/fortune_generator/fortune.js
index dac17f3..096adba 100644
--- a/fortune_generator/fortune.js
+++ b/fortune_generator/fortune.js
@@ -35,9 +35,9 @@ const fortuneStatus = ["大吉", "中吉", "小吉", "吉", "末吉", "中平",
const chineseMonth = ["一", "二", "三", "四", "五", "六", "七", "八", "九", "十", "十一", "十二"];
const week = ['日', '一', '二', '三', '四', '五', '六'];
-const title = `今日運勢`;
-const allGood = `萬事皆宜`;
-const allBad = `諸事不宜`;
+const title = `今日運勢`;
+const allGood = `萬事皆宜`;
+const allBad = `諸事不宜`;
// date
const d = new Date();
@@ -76,8 +76,8 @@ async function init_page(){
$('#r-2-desc').hide();
// show date before button pressed
- const showMonth = `${chineseMonth[month - 1] + "月"}`;
- const showDate = `${("0" + date).substr(-2)}`;
+ const showMonth = `${chineseMonth[month - 1] + "月"}`;
+ const showDate = `${("0" + date).substr(-2)}`;
const showDay = `${"星期" + week[day]}`;
$('#month').html(showMonth);
@@ -100,12 +100,12 @@ async function init_page(){
// if there is upcoming event then show
if(eventIndex_1 != -1){
let days = daysDiff(eventIndex_1);
- let upcoming_event_1 = `距離${special_events[eventIndex_1].event}還剩${days}天`;
+ let upcoming_event_1 = `距離${special_events[eventIndex_1].event}還剩${days}天`;
$('#upcoming-event-1').html(upcoming_event_1);
}
if(eventIndex_2 != -1){
let days = daysDiff(eventIndex_2);
- let upcoming_event_2 = `距離${special_events[eventIndex_2].event}還剩${days}天`;
+ let upcoming_event_2 = `距離${special_events[eventIndex_2].event}還剩${days}天`;
$('#upcoming-event-2').html(upcoming_event_2);
}