From 2398b990af57a4326cf17602c673660bed5b2dec Mon Sep 17 00:00:00 2001 From: Alex Yatskov Date: Sat, 28 Jan 2017 18:03:24 -0800 Subject: fix options versioning for real, bump version --- ext/bg/js/options.js | 4 ++-- ext/manifest.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'ext') 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"}, -- cgit v1.2.3