FIX: document.activeElement can be null on IE11 (#9880)
This commit is contained in:
parent
26c7fa2c29
commit
675e9b81c6
|
@ -1175,7 +1175,7 @@ export default Controller.extend({
|
|||
const elem = document.querySelector("html");
|
||||
elem.classList.remove("fullscreen-composer");
|
||||
|
||||
document.activeElement.blur();
|
||||
document.activeElement && document.activeElement.blur();
|
||||
this.setProperties({ model: null, lastValidatedAt: null });
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in New Issue