mirror of
https://github.com/discourse/discourse.git
synced 2024-11-22 12:12:26 +08:00
FIX: Detect more unsupported browsers
This commit is contained in:
parent
bedefd2e8a
commit
1cd8c6ce4c
|
@ -1,3 +1,3 @@
|
|||
if (!window.WeakMap || !window.Promise) {
|
||||
if (!window.WeakMap || !window.WeakSet || !window.Promise) {
|
||||
window.unsupportedBrowser = true;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user