discourse/app/assets/javascripts/browser-detect.js

4 lines
99 B
JavaScript

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