mirror of
https://github.com/discourse/discourse.git
synced 2026-08-08 12:08:12 -05:00
DEV: Remove unused code (#34322)
This commit is contained in:
@@ -519,7 +519,6 @@ export default class ChatComposer extends Component {
|
||||
textarea,
|
||||
hashtagAutocompleteOptions(
|
||||
this.site.hashtag_configurations["chat-composer"],
|
||||
this.siteSettings,
|
||||
{
|
||||
fixedTextareaPosition: true,
|
||||
treatAsTextarea: true,
|
||||
|
||||
+1
-1
@@ -223,7 +223,7 @@ export default class AiBotConversations extends Component {
|
||||
// You can change this to "chat-composer" if that's more appropriate
|
||||
const hashtagConfig = this.site.hashtag_configurations["topic-composer"];
|
||||
|
||||
setupHashtagAutocomplete(hashtagConfig, $textarea, this.siteSettings, {
|
||||
setupHashtagAutocomplete(hashtagConfig, $textarea, {
|
||||
treatAsTextarea: true,
|
||||
afterComplete: (text) => {
|
||||
this.textarea.value = text;
|
||||
|
||||
Reference in New Issue
Block a user