diff options
author | Stefan Malzner <stefan@adlk.io> | 2017-11-09 16:28:03 +0100 |
---|---|---|
committer | Stefan Malzner <stefan@adlk.io> | 2017-11-09 16:28:03 +0100 |
commit | b405ba11aa3c669a21831d016084e0c47bffdebc (patch) | |
tree | 24dbb9ca8ea83e0f2126e6e68c81a9e51eb49b91 /src/components/services/content/ServiceWebview.js | |
parent | Merge branch 'develop' of github.com:meetfranz/franz into develop (diff) | |
download | ferdium-app-b405ba11aa3c669a21831d016084e0c47bffdebc.tar.gz ferdium-app-b405ba11aa3c669a21831d016084e0c47bffdebc.tar.zst ferdium-app-b405ba11aa3c669a21831d016084e0c47bffdebc.zip |
feat(Service): Add option to mute service
Diffstat (limited to 'src/components/services/content/ServiceWebview.js')
-rw-r--r-- | src/components/services/content/ServiceWebview.js | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/components/services/content/ServiceWebview.js b/src/components/services/content/ServiceWebview.js index cd59e0a8a..d7e0a4f38 100644 --- a/src/components/services/content/ServiceWebview.js +++ b/src/components/services/content/ServiceWebview.js | |||
@@ -82,21 +82,17 @@ export default class ServiceWebview extends Component { | |||
82 | )} | 82 | )} |
83 | <Webview | 83 | <Webview |
84 | ref={(element) => { this.webview = element; }} | 84 | ref={(element) => { this.webview = element; }} |
85 | |||
86 | autosize | 85 | autosize |
87 | src={service.url} | 86 | src={service.url} |
88 | preload="./webview/plugin.js" | 87 | preload="./webview/plugin.js" |
89 | partition={`persist:service-${service.id}`} | 88 | partition={`persist:service-${service.id}`} |
90 | |||
91 | onDidAttach={() => setWebviewReference({ | 89 | onDidAttach={() => setWebviewReference({ |
92 | serviceId: service.id, | 90 | serviceId: service.id, |
93 | webview: this.webview.view, | 91 | webview: this.webview.view, |
94 | })} | 92 | })} |
95 | |||
96 | onUpdateTargetUrl={this.updateTargetUrl} | 93 | onUpdateTargetUrl={this.updateTargetUrl} |
97 | |||
98 | useragent={service.userAgent} | 94 | useragent={service.userAgent} |
99 | 95 | muted={service.isMuted} | |
100 | disablewebsecurity | 96 | disablewebsecurity |
101 | allowpopups | 97 | allowpopups |
102 | /> | 98 | /> |