Skip to content

Commit 05844ba

Browse files
committed
change default
1 parent c1569b5 commit 05844ba

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

android/modules/ui/src/java/ti/modules/titanium/ui/widget/webview/TiUIWebView.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ public TiUIWebView(TiViewProxy proxy)
293293
}
294294
webView.setVerticalScrollbarOverlay(true);
295295

296-
boolean multipleWindows = TiConvert.toBoolean(proxy.getProperty(TiC.PROPERTY_MULTIPLE_WINDOWS), true);
296+
boolean multipleWindows = TiConvert.toBoolean(proxy.getProperty(TiC.PROPERTY_MULTIPLE_WINDOWS), false);
297297
WebSettings settings = webView.getSettings();
298298
settings.setUseWideViewPort(true);
299299
settings.setJavaScriptEnabled(true);

apidoc/Titanium/UI/WebView.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1051,11 +1051,11 @@ properties:
10511051
availability: creation
10521052

10531053
- name: multipleWindows
1054-
summary: Set it to `false` to prevent the WebView to open new windows.
1054+
summary: If set to `false` it will prevent the WebView from opening new windows/tabs.
10551055
type: Boolean
10561056
platforms: [android]
1057-
since: "12.4.0"
1058-
default: true
1057+
since: "13.1.0"
1058+
default: false
10591059
availability: creation
10601060

10611061
- name: scalesPageToFit

0 commit comments

Comments
 (0)