Merge pull request #977 from zilongshanren/fix-webview-on-ios-android

fix webview loading error on iOS and Android
This commit is contained in:
Wang Nan
2016-07-28 17:51:24 +08:00
committed by GitHub
+1 -1
View File
@@ -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 () {