mirror of
https://github.com/ninjamuffin99/Funkin.git
synced 2024-12-01 03:04:30 +00:00
Use correct location for js.html.Navigator.
This commit is contained in:
parent
8dfc59da68
commit
4f34484689
|
@ -13,9 +13,9 @@ class PlatformUtil
|
||||||
#if mac
|
#if mac
|
||||||
return true;
|
return true;
|
||||||
#elseif html5
|
#elseif html5
|
||||||
return js.html.Navigator.platform.startsWith("Mac")
|
return js.Browser.window.navigator.platform.startsWith("Mac")
|
||||||
|| js.html.Navigator.platform.startsWith("iPad")
|
|| js.Browser.window.navigator.platform.startsWith("iPad")
|
||||||
|| js.html.Navigator.platform.startsWith("iPhone");
|
|| js.Browser.window.navigator.platform.startsWith("iPhone");
|
||||||
#else
|
#else
|
||||||
return false;
|
return false;
|
||||||
#end
|
#end
|
||||||
|
|
Loading…
Reference in a new issue