Removed obsolete javascript setting

This commit is contained in:
Maurice Parker 2020-07-08 10:48:05 -05:00
parent c1bf903bff
commit cdb43404c5
1 changed files with 0 additions and 1 deletions

View File

@ -17,7 +17,6 @@ class PreloadedWebView: WKWebView {
init(articleIconSchemeHandler: ArticleIconSchemeHandler) { init(articleIconSchemeHandler: ArticleIconSchemeHandler) {
let preferences = WKPreferences() let preferences = WKPreferences()
preferences.javaScriptCanOpenWindowsAutomatically = false preferences.javaScriptCanOpenWindowsAutomatically = false
preferences.javaScriptEnabled = true
let configuration = WKWebViewConfiguration() let configuration = WKWebViewConfiguration()
configuration.preferences = preferences configuration.preferences = preferences