diff options
Diffstat (limited to 'src/components/services/content/ServiceWebview.js')
-rw-r--r-- | src/components/services/content/ServiceWebview.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/components/services/content/ServiceWebview.js b/src/components/services/content/ServiceWebview.js index 75b3d2cf0..03d6d5bcc 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 | }); |
@@ -59,6 +59,7 @@ class ServiceWebview extends Component { | |||
59 | }} | 59 | }} |
60 | onUpdateTargetUrl={this.updateTargetUrl} | 60 | onUpdateTargetUrl={this.updateTargetUrl} |
61 | useragent={service.userAgent} | 61 | useragent={service.userAgent} |
62 | disablewebsecurity={service.recipe.disablewebsecurity} | ||
62 | allowpopups | 63 | allowpopups |
63 | /> | 64 | /> |
64 | ); | 65 | ); |