mirror of
https://github.com/discourse/discourse.git
synced 2024-11-29 19:24:13 +08:00
FIX: Check for textarea presence (#27457)
This mirrors `ChatThreadComposer.blur` Co-authored-by: Leonardo Mosquera <ldmosquera@gmail.com>
This commit is contained in:
parent
b0e4b906ad
commit
9f681ad65e
|
@ -41,7 +41,7 @@ export default class ChatChannelComposer extends Service {
|
||||||
|
|
||||||
@action
|
@action
|
||||||
blur() {
|
blur() {
|
||||||
this.textarea.blur();
|
this.textarea?.blur();
|
||||||
}
|
}
|
||||||
|
|
||||||
@action
|
@action
|
||||||
|
|
Loading…
Reference in New Issue
Block a user