Skip to content

Commit

Permalink
🐛fix: update tw_cn.js
Browse files Browse the repository at this point in the history
  • Loading branch information
王卓Sco committed Jan 31, 2024
1 parent 62a1d9a commit d54b74e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/js/tw_cn.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ document.addEventListener('DOMContentLoaded', function () {
saveToLocal.set(targetEncodingCookie, targetEncoding, 2);
translateBody();
if (isSnackbar) utils.snackbarShow(isTargetEncodingOne ? snackbarData.cht_to_chs : snackbarData.chs_to_cht);
translateButtonObject && ((translateButtonObject.innerHTML = isTargetEncodingOne ? msgToTraditionalChinese : msgToSimplifiedChinese) || rm.hideRightMenu())
translateButtonObject && ((translateButtonObject.innerHTML = isTargetEncodingOne ? msgToTraditionalChinese : msgToSimplifiedChinese) && rm.hideRightMenu())
}

const translateChar = (cc, source, target) => {
Expand Down

0 comments on commit d54b74e

Please sign in to comment.