mirror of
https://github.com/Ranchero-Software/NetNewsWire.git
synced 2025-01-11 09:14:06 +01:00
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
Block a user