1
0
Fork 0
mirror of https://github.com/ninjamuffin99/Funkin.git synced 2024-11-05 06:14:36 +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 #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