From 522b695ee8fdbf189f1afb33284483d8041e3208 Mon Sep 17 00:00:00 2001 From: zilongshanren Date: Thu, 28 Jul 2016 17:48:42 +0800 Subject: [PATCH] fix webview loading error on iOS and Android --- cocos2d/core/components/CCWebView.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cocos2d/core/components/CCWebView.js b/cocos2d/core/components/CCWebView.js index cddc3c8274..aa639de9a1 100644 --- a/cocos2d/core/components/CCWebView.js +++ b/cocos2d/core/components/CCWebView.js @@ -139,11 +139,11 @@ var WebView = cc.Class({ _onWebViewLoaded: function () { cc.Component.EventHandler.emitEvents(this.webviewEvents, this, EventType.LOADED); - return true; }, _onWebViewLoading: function () { cc.Component.EventHandler.emitEvents(this.webviewEvents, this, EventType.LOADING); + return true; }, _onWebViewLoadError: function () {