A platform for community discussion. Free, open, simple.
FIX: Don't try to boot the ember app on old browsers (#14423)
Rafael dos Santos Silva38b8eb59712b
diff --git a/app/assets/javascripts/discourse/public/assets/scripts/discourse-boot.js b/app/assets/javascripts/discourse/public/assets/scripts/discourse-boot.jsindex f33a20a7bdf..a1fe1ebd489 100644--- a/app/assets/javascripts/discourse/public/assets/scripts/discourse-boot.js+++ b/app/assets/javascripts/discourse/public/assets/scripts/discourse-boot.js@@ -1,4 +1,7 @@(function () {+ if (window.unsupportedBrowser) {+ throw "Unsupported browser detected";+ }// TODO: These are needed to load plugins because @ember has its own loader.// We should find a nicer way to do this.const EMBER_MODULES = {