From 1eb9016a77c9ef99e63913db0a023b7f9911d4e4 Mon Sep 17 00:00:00 2001 From: Julian Lam Date: Thu, 2 Oct 2014 14:38:30 -0400 Subject: [PATCH] fixed #2207 --- public/src/modules/composer/categoryList.js | 5 +++++ 1 file changed, 5 insertions(+) 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) { $('').appendTo(listEl); });