enable javascript for webview when logging in

This commit is contained in:
stom79 2019-01-30 14:35:05 +01:00
parent cdb01d262a
commit 61557962c6
1 changed files with 1 additions and 1 deletions

View File

@ -99,7 +99,7 @@ public class WebviewActivity extends BaseActivity {
setTitle("");
FrameLayout webview_container = findViewById(R.id.webview_container);
final ViewGroup videoLayout = findViewById(R.id.videoLayout); // Your own view, read class comments
webView.getSettings().setJavaScriptEnabled(true);
MastalabWebChromeClient mastalabWebChromeClient = new MastalabWebChromeClient(WebviewActivity.this, webView, webview_container, videoLayout);
mastalabWebChromeClient.setOnToggledFullscreen(new MastalabWebChromeClient.ToggledFullscreenCallback() {
@Override