discourse/app/assets/javascripts/browser-detect.js
David Taylor 4eebbd2212
Revert "FIX: Detect more unsupported browsers"
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 1cd8c6ce4c.
2020-04-17 16:41:47 +01:00

4 lines
80 B
JavaScript

if (!window.WeakMap || !window.Promise) {
window.unsupportedBrowser = true;
}