diff options
author | 2019-10-04 19:49:46 +0200 | |
---|---|---|
committer | 2019-10-04 19:49:46 +0200 | |
commit | 3495a54951822e2a944e8dec852d0c728e362ab3 (patch) | |
tree | cc0135dc55b094be66700d529853c0441c4346b8 /src/components/services/content | |
parent | fix app delay being skipped (diff) | |
download | ferdium-app-3495a54951822e2a944e8dec852d0c728e362ab3.tar.gz ferdium-app-3495a54951822e2a944e8dec852d0c728e362ab3.tar.zst ferdium-app-3495a54951822e2a944e8dec852d0c728e362ab3.zip |
Revert "fix(Workspaces): Only initialize active Workspace services when app is starting"
This reverts commit b521a232ac7c79527d0f3c9baa46695fa5d5e62d, reversing
changes made to 5668a7ad1276a5117bba912a883442961ac54728.
Diffstat (limited to 'src/components/services/content')
-rw-r--r-- | src/components/services/content/ServiceWebview.js | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/components/services/content/ServiceWebview.js b/src/components/services/content/ServiceWebview.js index 4bab4a964..b3198d36a 100644 --- a/src/components/services/content/ServiceWebview.js +++ b/src/components/services/content/ServiceWebview.js | |||
@@ -37,9 +37,7 @@ class ServiceWebview extends Component { | |||
37 | <ElectronWebView | 37 | <ElectronWebView |
38 | ref={(webview) => { | 38 | ref={(webview) => { |
39 | this.webview = webview; | 39 | this.webview = webview; |
40 | if (webview && webview.view) { | 40 | webview.view.addEventListener('did-stop-loading', this.refocusWebview); |
41 | webview.view.addEventListener('did-stop-loading', this.refocusWebview); | ||
42 | } | ||
43 | }} | 41 | }} |
44 | autosize | 42 | autosize |
45 | src={service.url} | 43 | src={service.url} |