mirror of
https://github.com/9001/copyparty.git
synced 2025-08-17 17:12:13 -06:00
fix md-editor hotkeys on dvorak
This commit is contained in:
parent
02a91f60d4
commit
2bc0cdf017
|
@ -924,7 +924,7 @@ function cfg_uni(e) {
|
|||
(function () {
|
||||
function keydown(ev) {
|
||||
ev = ev || window.event;
|
||||
var kc = ev.keyCode || ev.which;
|
||||
var kc = ev.code || ev.keyCode || ev.which;
|
||||
//console.log(ev.code, kc);
|
||||
if (ctrl(ev) && (ev.code == "KeyS" || kc == 83)) {
|
||||
save();
|
||||
|
|
Loading…
Reference in a new issue