1
0
Fork 0
mirror of https://github.com/ninjamuffin99/Funkin.git synced 2024-11-30 18:53:35 +00:00

Use correct location for js.html.Navigator.

This commit is contained in:
EliteMasterEric 2023-11-05 00:26:03 -04:00
parent 8dfc59da68
commit 4f34484689

View file

@ -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