diff options
Diffstat (limited to 'ext')
-rw-r--r-- | ext/bg/js/options.js | 4 | ||||
-rw-r--r-- | ext/manifest.json | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/ext/bg/js/options.js b/ext/bg/js/options.js index 86d8e6cf..f1f6c9a1 100644 --- a/ext/bg/js/options.js +++ b/ext/bg/js/options.js @@ -104,9 +104,9 @@ function optionsVersion(options) { '{glossary-list}': '{glossary}' }; - for (let i = 0; i < fields.length; ++i) { + for (const name in fields) { for (const fixup in fixups) { - fields[i] = value.replace(fields[i], fixups[fixup]); + fields[name] = fields[name].replace(fixup, fixups[fixup]); } } }; diff --git a/ext/manifest.json b/ext/manifest.json index 7dbb8c4c..2ac61690 100644 --- a/ext/manifest.json +++ b/ext/manifest.json @@ -1,7 +1,7 @@ { "manifest_version": 2, "name": "Yomichan", - "version": "1.0.5", + "version": "1.0.6", "description": "Japanese dictionary with Anki integration", "icons": {"16": "img/icon16.png", "48": "img/icon48.png", "128": "img/icon128.png"}, |