summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Yatskov <alex@foosoft.net>2017-01-28 18:03:24 -0800
committerAlex Yatskov <alex@foosoft.net>2017-01-28 18:03:24 -0800
commit2398b990af57a4326cf17602c673660bed5b2dec (patch)
tree9258823639f323d9b3d7538e656c2aedef7d182e
parent0f69843202c7ae89efd590541561e76866699c1d (diff)
fix options versioning for real, bump version1.0.6
-rw-r--r--ext/bg/js/options.js4
-rw-r--r--ext/manifest.json2
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"},