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:
Kane York 2020-12-14 15:51:40 -08:00 committed by GitHub
parent 86a8070fd7
commit 55292cfce1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1008,7 +1008,7 @@ export default Controller.extend({
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)
.split(",")
.slice(0, this.siteSettings.max_tags_per_topic);