Merge branch 'master' of ltGuillaume/ttrss into master
This commit is contained in:
commit
c8243b03c9
|
@ -211,8 +211,8 @@ require(["dojo/_base/kernel",
|
||||||
if (event.target.nodeName == "INPUT" || event.target.nodeName == "TEXTAREA") return;
|
if (event.target.nodeName == "INPUT" || event.target.nodeName == "TEXTAREA") return;
|
||||||
|
|
||||||
// Arrow buttons and escape are not reported via keypress, handle them via keydown.
|
// Arrow buttons and escape are not reported via keypress, handle them via keydown.
|
||||||
// escape = 27, left = 37, up = 38, right = 39, down = 40, pgup = 33, pgdn = 34
|
// escape = 27, left = 37, up = 38, right = 39, down = 40, pgup = 33, pgdn = 34, insert = 45, delete = 46
|
||||||
if (event.type == "keydown" && event.which != 27 && (event.which < 33 || event.which > 40)) return;
|
if (event.type == "keydown" && event.which != 27 && (event.which < 33 || event.which > 46)) return;
|
||||||
|
|
||||||
const action_name = App.keyeventToAction(event);
|
const action_name = App.keyeventToAction(event);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue