Remove attempt to remove the context menu interaction.

This commit is contained in:
Maurice Parker 2019-11-29 18:16:27 -06:00
parent 8097fc488b
commit 87a82eb290
1 changed files with 0 additions and 1 deletions

View File

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