Browse Source

Bugfix. Don't scroll down when user manually scrolled up

JC Brand 5 years ago
parent
commit
58d018e868
1 changed files with 0 additions and 1 deletions
  1. 0 1
      src/components/chat_content.js

+ 0 - 1
src/components/chat_content.js

@@ -30,7 +30,6 @@ class ChatContent extends CustomElement {
         if (!this.chatview.model.get('scrolled')) {
             this.parentElement.scrollTop = this.parentElement.scrollHeight;
         }
-        this.parentElement.scrollTop = this.parentElement.scrollHeight;
     }
 
     updated () {