Remove references to WebKit preferences that are not pertinent in 10.15.

This commit is contained in:
Daniel Jalkut 2019-10-26 14:23:44 -04:00
parent 1fd55ab846
commit 2903e4507b
1 changed files with 0 additions and 2 deletions

View File

@ -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