From b9d589374cd2105c195a8c41d71c459a53c0fae3 Mon Sep 17 00:00:00 2001 From: siikamiika Date: Tue, 10 Oct 2017 04:13:36 +0300 Subject: [PATCH] merged mode: support audio hotkey Alt+P --- ext/mixed/js/display.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;