Merge branch 'really-drop-ie' into soon

This commit is contained in:
ansuz 2022-03-22 12:04:17 +05:30
commit 2fc6649883
1 changed files with 7 additions and 0 deletions

View File

@ -43,5 +43,12 @@ define([
throw e;
};
if (typeof(Promise) !== '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')]);
});