mirror of
https://github.com/cocos/cocos4.git
synced 2026-12-01 15:52:40 +08:00
Merge pull request #977 from zilongshanren/fix-webview-on-ios-android
fix webview loading error on iOS and Android
This commit is contained in:
@@ -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 () {
|
||||
|
||||
Reference in New Issue
Block a user