2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-09-09 22:22:54 +08:00
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

3 lines
80 B
JavaScript

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