Merge pull request #3440 from rex4539/typos

Fix typo
This commit is contained in:
Maurice Parker
2022-02-02 15:43:19 -08:00
committed by GitHub

View File

@@ -19,8 +19,8 @@ class PreloadedWebView: WKWebView {
preferences.javaScriptCanOpenWindowsAutomatically = false
/// The defaults for `preferredContentMode` and `allowsContentJavaScript` are suitable
/// and don't need to be explicity set.
/// `allowsContentJavaScript` replaces `WKPreferences.javascriptEnbaled`.
/// and don't need to be explicitly set.
/// `allowsContentJavaScript` replaces `WKPreferences.javascriptEnabled`.
let webpagePreferences = WKWebpagePreferences()
let configuration = WKWebViewConfiguration()