Removed obsolete javascript setting
This commit is contained in:
parent
c1bf903bff
commit
cdb43404c5
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue