mirror of
https://github.com/cryptpad/cryptpad.git
synced 2026-09-14 11:05:41 +05:00
fully drop support for browsers lacking promises
This commit is contained in:
parent
e31ae08341
commit
f31ebf7f2e
@ -86,11 +86,11 @@ define([
|
||||
}
|
||||
} catch (e) { console.error(e); failStore(); }
|
||||
|
||||
require([document.querySelector('script[data-bootload]').getAttribute('data-bootload')]);
|
||||
if (typeof(Promise) !== 'function') {
|
||||
setTimeout(function () {
|
||||
return void setTimeout(function () {
|
||||
var s = "Internet Explorer is not supported anymore, including by Microsoft.\n\nMost of CryptPad's collaborative functionality requires a modern browser to work.\n\nWe recommend Mozilla Firefox.";
|
||||
window.alert(s);
|
||||
});
|
||||
}
|
||||
require([document.querySelector('script[data-bootload]').getAttribute('data-bootload')]);
|
||||
});
|
||||
|
||||
Loading…
Reference in New Issue
Block a user