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

4 lines
80 B
JavaScript

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