diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2020-01-16 20:48:51 -0500 |
---|---|---|
committer | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2020-01-16 22:39:26 -0500 |
commit | 6c344b2740ae7ef0bc214d1391c1592d802434ac (patch) | |
tree | a75792b19ce88bc138c5be18525d7b7f73d7c082 /ext/mixed/js | |
parent | f969b5b8a9fa3b77bfc3bbb13830913c620c48da (diff) |
Fix incorrect selector
Diffstat (limited to 'ext/mixed/js')
-rw-r--r-- | ext/mixed/js/display.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/mixed/js/display.js b/ext/mixed/js/display.js index 50e099f6..c4be02f2 100644 --- a/ext/mixed/js/display.js +++ b/ext/mixed/js/display.js @@ -175,7 +175,7 @@ class Display { const link = e.currentTarget; const entry = link.closest('.entry'); const definitionIndex = this.entryIndexFind(entry); - const expressionIndex = Display.indexOf(entry.querySelectorAll('.expression .action-play-audio'), link); + const expressionIndex = Display.indexOf(entry.querySelectorAll('.term-expression .action-play-audio'), link); this.audioPlay(this.definitions[definitionIndex], expressionIndex, definitionIndex); } |