merged mode: support audio hotkey Alt+P
This commit is contained in:
parent
9f277b6a20
commit
b9d589374c
@ -185,7 +185,7 @@ class Display {
|
|||||||
80: /* p */ () => {
|
80: /* p */ () => {
|
||||||
if (e.altKey) {
|
if (e.altKey) {
|
||||||
if ($('.entry').eq(this.index).data('type') === 'term') {
|
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;
|
return true;
|
||||||
|
Loading…
Reference in New Issue
Block a user