FEATURE: Show noscript view to unsupported browsers (#9373)

This commit is contained in:
Dan Ungureanu
2020-04-08 20:24:18 +03:00
committed by GitHub
parent e1f8014acd
commit 73d71e3fee
7 changed files with 26 additions and 12 deletions

View File

@ -1,4 +1,4 @@
en:
site_settings:
discourse_internet_explorer_enabled: "Internet Explorer support"
discourse_internet_explorer_enabled: "Enable temporary Internet Explorer support. This plugin is an effort to maintain compatibility with older browsers and will be completely removed in the near future."
discourse_internet_explorer_deprecation_warning: "Show an Internet Explorer deprecation warning"

View File

@ -972,6 +972,9 @@ if (!String.prototype.startsWith) {
/* eslint-enable */
// Polyfill Promise - used by popper.js
if (!window.Promise) {
window.Promise = true;
}
window.addEventListener(
"load",
function() {