mirror of
https://github.com/discourse/discourse.git
synced 2024-11-26 05:33:40 +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
|
||||
blur() {
|
||||
this.textarea.blur();
|
||||
this.textarea?.blur();
|
||||
}
|
||||
|
||||
@action
|
||||
|
|
Loading…
Reference in New Issue
Block a user