diff options
author | vantezzen <hello@vantezzen.io> | 2019-10-02 11:48:59 +0200 |
---|---|---|
committer | vantezzen <hello@vantezzen.io> | 2019-10-02 11:48:59 +0200 |
commit | 756d610259a2352afa627cb62362ba3ad0839a47 (patch) | |
tree | ff2a0d133f49e70ee53e0fb25d1b2ceaab72102c /src/components/services | |
parent | Fix Ferdi Lock not locking on startup (diff) | |
download | ferdium-app-756d610259a2352afa627cb62362ba3ad0839a47.tar.gz ferdium-app-756d610259a2352afa627cb62362ba3ad0839a47.tar.zst ferdium-app-756d610259a2352afa627cb62362ba3ad0839a47.zip |
Fix webview logger throwing errors
Diffstat (limited to 'src/components/services')
-rw-r--r-- | src/components/services/content/ServiceWebview.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/services/content/ServiceWebview.js b/src/components/services/content/ServiceWebview.js index 75b3d2cf0..647e31d52 100644 --- a/src/components/services/content/ServiceWebview.js +++ b/src/components/services/content/ServiceWebview.js | |||
@@ -24,7 +24,7 @@ class ServiceWebview extends Component { | |||
24 | reaction( | 24 | reaction( |
25 | () => this.webview, | 25 | () => this.webview, |
26 | () => { | 26 | () => { |
27 | if (this.webview.view) { | 27 | if (this.webview && this.webview.view) { |
28 | this.webview.view.addEventListener('console-message', (e) => { | 28 | this.webview.view.addEventListener('console-message', (e) => { |
29 | debug('Service logged a message:', e.message); | 29 | debug('Service logged a message:', e.message); |
30 | }); | 30 | }); |