瀏覽代碼

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

JC Brand 5 年之前
父節點
當前提交
58d018e868
共有 1 個文件被更改,包括 0 次插入1 次删除
  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 () {