Browse Source

Fix opening pinned messages

master
morethanwords 3 years ago
parent
commit
179c161434
  1. 4
      .env
  2. 2
      src/components/chat/bubbles.ts

4
.env

@ -1,5 +1,5 @@ @@ -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

2
src/components/chat/bubbles.ts

@ -1572,7 +1572,7 @@ export default class ChatBubbles { @@ -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…
Cancel
Save