From daabdd2ccf07ca6a083f5728a1b541f4a073fd16 Mon Sep 17 00:00:00 2001 From: Robin Ward Date: Mon, 21 Nov 2016 16:18:41 -0500 Subject: [PATCH] FIX: Topic status icons weren't being displayed --- app/assets/javascripts/discourse-loader.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/app/assets/javascripts/discourse-loader.js b/app/assets/javascripts/discourse-loader.js index b80e3aac0c6..2d9f1d9f35f 100644 --- a/app/assets/javascripts/discourse-loader.js +++ b/app/assets/javascripts/discourse-loader.js @@ -135,8 +135,12 @@ var define, require, requirejs; } requirejs = require = function(name) { - var mod = registry[name] || registry[MOVED_MODULES[name]]; + if (MOVED_MODULES[name]) { + name = MOVED_MODULES[name]; + } + + var mod = registry[name]; if (mod && mod.callback instanceof Alias) { mod = registry[mod.callback.name];