aboutsummaryrefslogtreecommitdiff
path: root/ext/bg/js
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 /ext/bg/js
parent0f69843202c7ae89efd590541561e76866699c1d (diff)
fix options versioning for real, bump version1.0.6
Diffstat (limited to 'ext/bg/js')
-rw-r--r--ext/bg/js/options.js4
1 files changed, 2 insertions, 2 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]);
}
}
};