Fix opening pinned messages
This commit is contained in:
parent
03f8661184
commit
179c161434
4
.env
4
.env
@ -1,5 +1,5 @@
|
||||
API_ID=1025907
|
||||
API_HASH=452b0359b988148995f22ff0f4229750
|
||||
VERSION=0.9.1
|
||||
VERSION_FULL=0.9.1 (18)
|
||||
BUILD=18
|
||||
VERSION_FULL=0.9.1 (19)
|
||||
BUILD=19
|
||||
|
@ -1572,7 +1572,7 @@ export default class ChatBubbles {
|
||||
}
|
||||
}
|
||||
|
||||
const isChangingHeight = this.chat.input.messageInput.classList.contains('is-changing-height') || this.chat.container.classList.contains('is-toggling-helper');
|
||||
const isChangingHeight = (this.chat.input.messageInput && this.chat.input.messageInput.classList.contains('is-changing-height')) || this.chat.container.classList.contains('is-toggling-helper');
|
||||
return this.scrollable.scrollIntoViewNew(
|
||||
element,
|
||||
position,
|
||||
|
Loading…
Reference in New Issue
Block a user