Skip to content

Node.js based forum software built for the modern web

fixed #2207

Julian Lam1eb9016a77c9
diff --git a/public/src/modules/composer/categoryList.js b/public/src/modules/composer/categoryList.js
index 776e435bc9..30ece1875a 100644
--- a/public/src/modules/composer/categoryList.js
+++ b/public/src/modules/composer/categoryList.js
@@ -17,6 +17,11 @@ define('composer/categoryList', function() {
return app.alertError(err.message);
}
+ // Remove categories that are just external links
+ categories = categories.filter(function(category) {
+ return !category.link
+ });
+
categories.forEach(function(category) {
$('<option value="' + category.cid + '">' + category.name + '</option>').appendTo(listEl);
});