From 1931669f79d4177eb2d7c90fe7573a1f18751eb7 Mon Sep 17 00:00:00 2001 From: Gustavo Edinger Date: Tue, 27 Mar 2018 05:08:19 -0300 Subject: [PATCH] refactor(ios-webview): remove useless js evaluation (#5584) --- tns-core-modules/ui/web-view/web-view.ios.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/tns-core-modules/ui/web-view/web-view.ios.ts b/tns-core-modules/ui/web-view/web-view.ios.ts index f536407a6..23a49ce39 100644 --- a/tns-core-modules/ui/web-view/web-view.ios.ts +++ b/tns-core-modules/ui/web-view/web-view.ios.ts @@ -56,9 +56,6 @@ class WKNavigationDelegateImpl extends NSObject } const owner = this._owner.get(); if (owner) { - webView.evaluateJavaScriptCompletionHandler("document.body.height",(val,err)=>{ - console.log(val); - }); let src = owner.src; if (webView.URL) { src = webView.URL.absoluteString;