diff options
| author | stonedDiscord <stoned@derpymail.org> | 2019-07-16 18:40:24 +0200 |
|---|---|---|
| committer | stonedDiscord <stoned@derpymail.org> | 2019-07-16 18:40:24 +0200 |
| commit | 0722238c1ed67e935b17b25572a217276f485869 (patch) | |
| tree | d448bbdda19aacc0d78bb3bfc0d023465aded952 /webAO/client.js | |
| parent | c4c754944c209fc365e04aa17e6bd3a73c504e26 (diff) | |
explanation on old loading and android off blacklist
Diffstat (limited to 'webAO/client.js')
| -rw-r--r-- | webAO/client.js | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/webAO/client.js b/webAO/client.js index c690e1f..29b2682 100644 --- a/webAO/client.js +++ b/webAO/client.js @@ -31,11 +31,12 @@ const CHAR_SELECT_WIDTH = 8; const UPDATE_INTERVAL = 60; /** - * Toggles AO1-style loading using paginated music packets. - * (It is unclear why AO2 loading does not work on mobile platforms.) + * Toggles AO1-style loading using paginated music packets for mobile platforms. + * The old loading uses more smaller packets instead of a single big one, + * which caused problems on low-memory devices in the past. */ let oldLoading = false; -if (/Android|webOS|iPhone|iPad|iPod|BlackBerry|BB|PlayBook|IEMobile|Windows Phone|Kindle|Silk|Opera Mini/i.test(navigator.userAgent)) { +if (/webOS|iPod|BlackBerry|BB|PlayBook|IEMobile|Windows Phone|Kindle|Silk|Opera Mini/i.test(navigator.userAgent)) { oldLoading = true; } |
