aboutsummaryrefslogtreecommitdiff
path: root/ext/fg
diff options
context:
space:
mode:
Diffstat (limited to 'ext/fg')
-rw-r--r--ext/fg/js/frame.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/fg/js/frame.js b/ext/fg/js/frame.js
index 66fa131d..36356f02 100644
--- a/ext/fg/js/frame.js
+++ b/ext/fg/js/frame.js
@@ -118,7 +118,7 @@ class Frame {
}
states.forEach((state, index) => {
- for (const mode in state) {
+ for (let mode in state) {
const button = this.findAddNoteButton(index, mode);
if (state[mode]) {
button.removeClass('disabled');
@@ -147,7 +147,7 @@ class Frame {
url += `&kana=${encodeURIComponent(definition.reading)}`;
}
- for (const key in this.audioCache) {
+ for (let key in this.audioCache) {
this.audioCache[key].pause();
}