aboutsummaryrefslogtreecommitdiff
path: root/ext/bg/js/options.js
diff options
context:
space:
mode:
authorAlex Yatskov <alex@foosoft.net>2016-06-14 16:07:23 -0400
committerAlex Yatskov <alex@foosoft.net>2016-06-14 20:44:38 -0700
commitad617221308b04e8f26ec52d876603e7aec3a03d (patch)
tree005364d7c5485a1b470530b55f90f4e5ed8d6f4c /ext/bg/js/options.js
parentcaf067883275f9b46259c2dbbf1f36aafc7e9108 (diff)
Use `let` instead of `const` in for loops.
Diffstat (limited to 'ext/bg/js/options.js')
-rw-r--r--ext/bg/js/options.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/bg/js/options.js b/ext/bg/js/options.js
index d0b7f4ca..eefba95e 100644
--- a/ext/bg/js/options.js
+++ b/ext/bg/js/options.js
@@ -33,7 +33,7 @@ function sanitizeOptions(options) {
ankiKanjiFields: {}
};
- for (const key in defaults) {
+ for (let key in defaults) {
if (!options.hasOwnProperty(key)) {
options[key] = defaults[key];
}