A platform for community discussion. Free, open, simple.
Use underscore's `assign` for IE 11 compatibility
osamasayegh34d35923d06f
diff --git a/app/assets/javascripts/discourse/helpers/theme-setting-injector.es6 b/app/assets/javascripts/discourse/helpers/theme-setting-injector.es6index 760bbbab1c7..b0c774c84ab 100644--- a/app/assets/javascripts/discourse/helpers/theme-setting-injector.es6+++ b/app/assets/javascripts/discourse/helpers/theme-setting-injector.es6@@ -22,9 +22,9 @@ function inject(context, key, value) {function injectPlainObject(context, key, value) {if (!context.themeSettings) {- Object.assign(context, { themeSettings: {} });+ _.assign(context, { themeSettings: {} });}- Object.assign(context.themeSettings, { [key]: value });+ _.assign(context.themeSettings, { [key]: value });}registerHelper('theme-setting-injector', function(arr, hash) {