mirror of
https://github.com/ninjamuffin99/Funkin.git
synced 2024-08-20 07:25:59 +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
|
||||
return true;
|
||||
#elseif html5
|
||||
return js.html.Navigator.platform.startsWith("Mac")
|
||||
|| js.html.Navigator.platform.startsWith("iPad")
|
||||
|| js.html.Navigator.platform.startsWith("iPhone");
|
||||
return js.Browser.window.navigator.platform.startsWith("Mac")
|
||||
|| js.Browser.window.navigator.platform.startsWith("iPad")
|
||||
|| js.Browser.window.navigator.platform.startsWith("iPhone");
|
||||
#else
|
||||
return false;
|
||||
#end
|
||||
|
|
Loading…
Reference in a new issue