mirror of
https://github.com/discourse/discourse.git
synced 2025-06-04 11:11:13 +08:00
FEATURE: Show noscript view to unsupported browsers (#9373)
This commit is contained in:
@ -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"
|
||||
|
@ -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() {
|
||||
|
Reference in New Issue
Block a user