aboutsummaryrefslogtreecommitdiff
path: root/ext/bg/js/japanese.js
diff options
context:
space:
mode:
Diffstat (limited to 'ext/bg/js/japanese.js')
-rw-r--r--ext/bg/js/japanese.js6
1 files changed, 0 insertions, 6 deletions
diff --git a/ext/bg/js/japanese.js b/ext/bg/js/japanese.js
index fa40fc98..d2a577e6 100644
--- a/ext/bg/js/japanese.js
+++ b/ext/bg/js/japanese.js
@@ -293,12 +293,6 @@ const jp = (() => {
function convertAlphabeticToKana(text, sourceMapping) {
let part = '';
let result = '';
- const ii = text.length;
-
- if (sourceMapping.length === ii) {
- sourceMapping.length = ii;
- sourceMapping.fill(1);
- }
for (const char of text) {
// Note: 0x61 is the character code for 'a'