From 0722238c1ed67e935b17b25572a217276f485869 Mon Sep 17 00:00:00 2001 From: stonedDiscord Date: Tue, 16 Jul 2019 18:40:24 +0200 Subject: explanation on old loading and android off blacklist --- webAO/client.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'webAO') 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; } -- cgit