mirror of
https://github.com/discourse/discourse.git
synced 2024-11-24 17:15:32 +08:00
BUGFIX: someone missed a replacement
This commit is contained in:
parent
0be7483f19
commit
49dbb992ad
|
@ -189,7 +189,7 @@ Discourse.TopicView = Discourse.View.extend(Discourse.Scrolling, {
|
|||
}
|
||||
|
||||
if (category) {
|
||||
opts.catLink = Discourse.HTML.categoryLink(category, {showParent: true});
|
||||
opts.catLink = Discourse.HTML.categoryBadge(category, {showParent: true});
|
||||
} else {
|
||||
opts.catLink = "<a href=\"" + Discourse.getURL("/categories") + "\">" + I18n.t("topic.browse_all_categories") + "</a>";
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user