give mobile users a way to escape from the error screen (aside from ESC)

pull/1/head
ansuz 3 years ago
parent cf7593553b
commit fe256e8282

@ -921,9 +921,10 @@ define([
}); });
ctx.sframeChan.on('EV_WORKER_TIMEOUT', function () { ctx.sframeChan.on('EV_WORKER_TIMEOUT', function () {
UI.errorLoadingScreen(Messages.timeoutError, false, function () { // XXX 4.11.0 mobile users can't necessarily hit 'ESC' as this message suggests. provice a click option var message = UI.setHTML(h('span'), Messages.timeoutError);
funcs.gotoURL(''); var cb = Util.once(function () { funcs.gotoURL(''); });
}); $(message).find('em').on('touchend', cb);
UI.errorLoadingScreen(message, false, cb);
}); });
ctx.sframeChan.on('EV_CHROME_68', function () { ctx.sframeChan.on('EV_CHROME_68', function () {

Loading…
Cancel
Save