FIX: Do not forbid tags in /new-topic on mobile (#11486)
Now that mobile has a UI for tags, there is no longer any reason to forbid setting them via URL.
This commit is contained in:
parent
86a8070fd7
commit
55292cfce1
|
@ -1008,7 +1008,7 @@ export default Controller.extend({
|
||||||
this.model.set("categoryId", opts.topicCategoryId);
|
this.model.set("categoryId", opts.topicCategoryId);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (opts.topicTags && !this.site.mobileView && this.site.can_tag_topics) {
|
if (opts.topicTags && this.site.can_tag_topics) {
|
||||||
let tags = escapeExpression(opts.topicTags)
|
let tags = escapeExpression(opts.topicTags)
|
||||||
.split(",")
|
.split(",")
|
||||||
.slice(0, this.siteSettings.max_tags_per_topic);
|
.slice(0, this.siteSettings.max_tags_per_topic);
|
||||||
|
|
Loading…
Reference in New Issue