mirror of
https://github.com/godotengine/godot-website.git
synced 2025-12-31 09:48:43 +03:00
fix download button redirect for Android users (#1048)
This commit is contained in:
@@ -110,6 +110,8 @@
|
||||
let link_platform = 'windows';
|
||||
if (navigator.platform.indexOf('Mac') !== -1) {
|
||||
link_platform = 'macos';
|
||||
} else if (navigator.userAgent.indexOf('Android') !== -1) {
|
||||
link_platform = 'android';
|
||||
} else if (navigator.platform.indexOf('Linux') !== -1) {
|
||||
link_platform = 'linux';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user