A platform for community discussion. Free, open, simple.
FIX: Polyfill Promise for IE11 (#9057)
David Taylordfe11321d83c
diff --git a/plugins/discourse-internet-explorer/public/js/ie.js b/plugins/discourse-internet-explorer/public/js/ie.jsindex 4c0fbf5fd8e..6c998e402a1 100644--- a/plugins/discourse-internet-explorer/public/js/ie.js+++ b/plugins/discourse-internet-explorer/public/js/ie.js@@ -970,3 +970,12 @@ if (!String.prototype.startsWith) {return ES6;});/* eslint-enable */++// Polyfill Promise - used by popper.js+window.addEventListener(+ "load",+ function() {+ window.Promise = require("rsvp").Promise;+ },+ false+);