diff options
Diffstat (limited to 'src/stores')
-rw-r--r-- | src/stores/ServicesStore.js | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/stores/ServicesStore.js b/src/stores/ServicesStore.js index b595c3543..0ad523374 100644 --- a/src/stores/ServicesStore.js +++ b/src/stores/ServicesStore.js | |||
@@ -495,9 +495,7 @@ export default class ServicesStore extends Store { | |||
495 | const service = this.one(serviceId); | 495 | const service = this.one(serviceId); |
496 | 496 | ||
497 | if (service.webview) { | 497 | if (service.webview) { |
498 | if (document.activeElement) { | 498 | service.webview.blur(); |
499 | document.activeElement.blur(); | ||
500 | } | ||
501 | service.webview.focus(); | 499 | service.webview.focus(); |
502 | } | 500 | } |
503 | } | 501 | } |