mirror of
https://github.com/discourse/discourse.git
synced 2024-11-28 03:33:58 -06:00
Merge pull request #3185 from techAPJ/patch-1
FIX: uncategorized is showing up in title tag on topics
This commit is contained in:
commit
62b1969c4b
@ -20,7 +20,8 @@ var TopicRoute = Discourse.Route.extend(ShowFooter, {
|
||||
var result = model.get('title'),
|
||||
cat = model.get('category');
|
||||
|
||||
if (cat && !cat.get('isUncategorized')) {
|
||||
// Only display uncategorized in the title tag if it was renamed
|
||||
if (cat && !(cat.get('isUncategorizedCategory') && cat.get('name').toLowerCase() == "uncategorized")) {
|
||||
var catName = cat.get('name'),
|
||||
parentCategory = cat.get('parentCategory');
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user