From db89695d4da9eb7efac39debe7d44b78b118216f Mon Sep 17 00:00:00 2001 From: Robin Ward Date: Thu, 18 Dec 2014 11:22:02 -0500 Subject: [PATCH] FIX: Load order of Javascript --- app/assets/javascripts/discourse/helpers/category-badge.js.es6 | 2 +- app/assets/javascripts/main_include.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app/assets/javascripts/discourse/helpers/category-badge.js.es6 b/app/assets/javascripts/discourse/helpers/category-badge.js.es6 index df98421f360..1a31c448365 100644 --- a/app/assets/javascripts/discourse/helpers/category-badge.js.es6 +++ b/app/assets/javascripts/discourse/helpers/category-badge.js.es6 @@ -1,4 +1,4 @@ -import { categoryLinkHTML } from 'discourse/helpers/category-badge'; +import { categoryLinkHTML } from 'discourse/helpers/category-link'; import registerUnbound from 'discourse/helpers/register-unbound'; registerUnbound('category-badge', function(cat, options) { diff --git a/app/assets/javascripts/main_include.js b/app/assets/javascripts/main_include.js index 8040dffe151..dd21191f5ff 100644 --- a/app/assets/javascripts/main_include.js +++ b/app/assets/javascripts/main_include.js @@ -51,6 +51,7 @@ //= require ./discourse/helpers/user-avatar //= require ./discourse/helpers/cold-age-class //= require ./discourse/helpers/loading-spinner +//= require ./discourse/helpers/category-link //= require ./discourse/dialects/dialect //= require_tree ./discourse/dialects