Remove attempt to remove the context menu interaction.
This commit is contained in:
parent
8097fc488b
commit
87a82eb290
|
@ -97,7 +97,6 @@ class ArticleViewController: UIViewController {
|
|||
webView?.evaluateJavaScript("cancelImageLoad();")
|
||||
webView.configuration.userContentController.removeScriptMessageHandler(forName: MessageName.imageWasClicked)
|
||||
webView.configuration.userContentController.removeScriptMessageHandler(forName: MessageName.imageWasShown)
|
||||
webView.removeInteraction(contextMenuInteraction)
|
||||
webView.removeFromSuperview()
|
||||
ArticleViewControllerWebViewProvider.shared.enqueueWebView(webView)
|
||||
webView = nil
|
||||
|
|
Loading…
Reference in New Issue