Removed obsolete javascript setting
This commit is contained in:
parent
c1bf903bff
commit
cdb43404c5
|
@ -17,7 +17,6 @@ class PreloadedWebView: WKWebView {
|
|||
init(articleIconSchemeHandler: ArticleIconSchemeHandler) {
|
||||
let preferences = WKPreferences()
|
||||
preferences.javaScriptCanOpenWindowsAutomatically = false
|
||||
preferences.javaScriptEnabled = true
|
||||
|
||||
let configuration = WKWebViewConfiguration()
|
||||
configuration.preferences = preferences
|
||||
|
|
Loading…
Reference in New Issue