From 77ebeef59f1c2ec39703c716674cbf8b549bbedd Mon Sep 17 00:00:00 2001 From: joe <> Date: Sun, 23 Apr 2023 20:23:43 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E5=8C=AF=E5=85=A5=E5=95=8F?= =?UTF-8?q?=E9=A1=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- js/content.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/js/content.js b/js/content.js index 95b12b8..11ad68c 100644 --- a/js/content.js +++ b/js/content.js @@ -733,7 +733,7 @@ const defaultQuickReplyMessageListKO = [ const locale = chrome.i18n.getUILanguage(); switch (locale) { - + case "zh-TW": defaultPromptList = defaultPromptListTW; defaultQuickReplyMessageList = defaultQuickReplyMessageListTW; @@ -3164,8 +3164,8 @@ const defaultQuickReplyMessageListKO = [ JSON.stringify(defaultQuickReplyMessageList) ); - promptList = defaultPromptList; - quickReplyMessageList = defaultQuickReplyMessageList; + promptList = JSON.parse(JSON.stringify(defaultPromptList)); + quickReplyMessageList = JSON.parse(JSON.stringify(defaultQuickReplyMessageList)); generateButtons();