Skip to content

Commit dd59fb2

Browse files
committed
Merge pull request #2708 from VisualSJ/develop-ios812
Maybe the black screen of 8.1.3 after adaptation
2 parents b92cd20 + 161afd0 commit dd59fb2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cocos2d/core/platform/CCEGLView.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ cc.__BrowserGetter = {
5858
adaptationType: cc.sys.browserType
5959
};
6060

61-
if(window.navigator.userAgent.indexOf("OS 8_1_2") > -1) //this mistake like MIUI, so use of MIUI treatment method
61+
if(window.navigator.userAgent.indexOf("OS 8_1_") > -1) //this mistake like MIUI, so use of MIUI treatment method
6262
cc.__BrowserGetter.adaptationType = cc.sys.BROWSER_TYPE_MIUI;
6363

6464
switch(cc.__BrowserGetter.adaptationType){

0 commit comments

Comments
 (0)