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 New Issue
Block a user