mirror of
https://github.com/9001/copyparty.git
synced 2025-08-17 09:02:15 -06:00
fix ie11 hotkey crash
This commit is contained in:
parent
ce776a547c
commit
457d7df129
|
@ -3025,7 +3025,7 @@ document.onkeydown = function (e) {
|
|||
}
|
||||
}
|
||||
|
||||
if (ae.closest('pre')) {
|
||||
if (ae && ae.closest('pre')) {
|
||||
if (k == 'KeyA' && ctrl(e)) {
|
||||
var sel = document.getSelection(),
|
||||
ran = document.createRange();
|
||||
|
|
Loading…
Reference in a new issue