We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 396c13f commit 4a4d519Copy full SHA for 4a4d519
src/egret/context/MainContext.ts
@@ -185,7 +185,7 @@ var testDeviceType = function () {
185
return true
186
}
187
var ua = navigator.userAgent.toLowerCase();
188
- return (this.ua.indexOf('mobile') != -1 || ua.indexOf('android') != -1);
+ return (ua.indexOf('mobile') != -1 || ua.indexOf('android') != -1);
189
190
191
egret.MainContext.instance = new egret.MainContext();
0 commit comments