aboutsummaryrefslogtreecommitdiff
path: root/ext/mixed/js/display.js
diff options
context:
space:
mode:
authorsiikamiika <siikamiika@users.noreply.github.com>2017-10-10 04:13:36 +0300
committersiikamiika <siikamiika@users.noreply.github.com>2017-10-10 04:13:36 +0300
commitb9d589374cd2105c195a8c41d71c459a53c0fae3 (patch)
tree67dfa7069a9d160cac919a2fa875518dbb3f4393 /ext/mixed/js/display.js
parent9f277b6a20867c65b80378ee8008d4f55974bfdf (diff)
merged mode: support audio hotkey Alt+P
Diffstat (limited to 'ext/mixed/js/display.js')
-rw-r--r--ext/mixed/js/display.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/mixed/js/display.js b/ext/mixed/js/display.js
index a335c694..e3b5ee50 100644
--- a/ext/mixed/js/display.js
+++ b/ext/mixed/js/display.js
@@ -185,7 +185,7 @@ class Display {
80: /* p */ () => {
if (e.altKey) {
if ($('.entry').eq(this.index).data('type') === 'term') {
- this.audioPlay(this.definitions[this.index], -1);
+ this.audioPlay(this.definitions[this.index], this.options.general.resultOutputMode === 'merge' ? 0 : -1);
}
return true;