Remove references to WebKit preferences that are not pertinent in 10.15.
This commit is contained in:
parent
1fd55ab846
commit
2903e4507b
|
@ -61,9 +61,7 @@ final class DetailWebViewController: NSViewController, WKUIDelegate {
|
|||
let preferences = WKPreferences()
|
||||
preferences.minimumFontSize = 12.0
|
||||
preferences.javaScriptCanOpenWindowsAutomatically = false
|
||||
preferences.javaEnabled = false
|
||||
preferences.javaScriptEnabled = true
|
||||
preferences.plugInsEnabled = false
|
||||
|
||||
let configuration = WKWebViewConfiguration()
|
||||
configuration.preferences = preferences
|
||||
|
|
Loading…
Reference in New Issue