Manos Chorianopoulos

fix webview script

...@@ -169,7 +169,7 @@ var timer2: DispatchSourceTimer? ...@@ -169,7 +169,7 @@ var timer2: DispatchSourceTimer?
169 } 169 }
170 170
171 func sendWebviewDidFocusRefresh() { 171 func sendWebviewDidFocusRefresh() {
172 - let scriptSource2 = "webviewDidFocusRefresh(\(self.webviewDidFocusRefresh));" 172 + let scriptSource2 = "webviewDidFocusRefresh(\(self.mWebviewSupermarket));"
173 173
174 webView.evaluateJavaScript(scriptSource2, completionHandler: { (object, error) in 174 webView.evaluateJavaScript(scriptSource2, completionHandler: { (object, error) in
175 self.mWebviewSupermarket = false 175 self.mWebviewSupermarket = false
......