fix webview load https URL

This commit is contained in:
zilongshanren
2016-07-25 17:48:08 +08:00
parent b9533c134c
commit 2da7f90163
@@ -412,7 +412,7 @@ if (ccui.WebView)
ccui.WebView.prototype._loadURL = ccui.WebView.prototype.loadURL;
ccui.WebView.prototype.loadURL = function (url) {
if (url.indexOf("http://") >= 0)
if (url.indexOf("http://") >= 0 || url.indexOf("https://") >= 0)
{
this._loadURL(url);
}