Node.js based forum software built for the modern web
filter links and children
Barış Soner Uşaklı76c0e33bcb08
diff --git a/public/src/app.js b/public/src/app.jsindex 1ea9bb1976..7433107f16 100644--- a/public/src/app.js+++ b/public/src/app.js@@ -491,6 +491,9 @@ app.cacheBuster = null;if (err) {return app.alertError(err.message);}+ categories = categories.filter(function(category) {+ return !category.link && !parseInt(category.parentCid, 10);+ });if (categories.length) {$(window).trigger('action:composer.topic.new', {cid: categories[0].cid