aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/services
diff options
context:
space:
mode:
authorLibravatar vantezzen <hello@vantezzen.io>2019-10-02 11:48:59 +0200
committerLibravatar vantezzen <hello@vantezzen.io>2019-10-02 11:48:59 +0200
commit756d610259a2352afa627cb62362ba3ad0839a47 (patch)
treeff2a0d133f49e70ee53e0fb25d1b2ceaab72102c /src/components/services
parentFix Ferdi Lock not locking on startup (diff)
downloadferdium-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.js2
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 });