From 43ebdafc2629085001e464e862d0950dda27ebd1 Mon Sep 17 00:00:00 2001 From: Danny Qiu Date: Tue, 26 May 2020 17:04:53 -0700 Subject: Fix setting of webview disablewebsecurity attribute (#772) --- recipes | 2 +- src/components/services/content/ServiceWebview.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes b/recipes index 0fbfa61fe..3054fd4c3 160000 --- a/recipes +++ b/recipes @@ -1 +1 @@ -Subproject commit 0fbfa61fee8deb3ac7aaa8d5b4e8ec867231d180 +Subproject commit 3054fd4c362b5be81b5cdd48535a0e7078fcd0a6 diff --git a/src/components/services/content/ServiceWebview.js b/src/components/services/content/ServiceWebview.js index 210a6ab6b..2e3354279 100644 --- a/src/components/services/content/ServiceWebview.js +++ b/src/components/services/content/ServiceWebview.js @@ -79,7 +79,7 @@ class ServiceWebview extends Component { }} onUpdateTargetUrl={this.updateTargetUrl} useragent={service.userAgent} - disablewebsecurity={service.recipe.disablewebsecurity} + disablewebsecurity={service.recipe.disablewebsecurity ? true : undefined} allowpopups /> ); -- cgit v1.2.3-70-g09d2