merged mode: support audio hotkey Alt+P

This commit is contained in:
siikamiika 2017-10-10 04:13:36 +03:00
parent 9f277b6a20
commit b9d589374c

View File

@ -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;