code format
This commit is contained in:
parent
fc568b5524
commit
364a3f9845
@ -4055,7 +4055,7 @@
|
|||||||
// focus the document.body to ensure we can use keyboard shortcuts
|
// focus the document.body to ensure we can use keyboard shortcuts
|
||||||
if( isHidden === false && document.activeElement !== document.body ) {
|
if( isHidden === false && document.activeElement !== document.body ) {
|
||||||
// Not all elements support .blur() - SVGs among them.
|
// Not all elements support .blur() - SVGs among them.
|
||||||
if (typeof document.activeElement.blur === 'function') {
|
if( typeof document.activeElement.blur === 'function' ) {
|
||||||
document.activeElement.blur();
|
document.activeElement.blur();
|
||||||
}
|
}
|
||||||
document.body.focus();
|
document.body.focus();
|
||||||
|
Loading…
Reference in New Issue
Block a user