mirror of
https://github.com/discourse/discourse.git
synced 2025-02-24 01:31:54 +08:00

This change broke IE11 support, even with the polyfills enabled. We may need to add a WeakSet polyfill, but reverting this change for now. This reverts commit 1cd8c6ce4caf15c4d0bd27077dcfc2592f7d1974.
4 lines
80 B
JavaScript
4 lines
80 B
JavaScript
if (!window.WeakMap || !window.Promise) {
|
|
window.unsupportedBrowser = true;
|
|
}
|