소스 검색

Bugfix. Properly determine when we've scrolled to top

JC Brand 5 년 전
부모
커밋
5222881690
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/converse-chatview.js

+ 1 - 1
src/converse-chatview.js

@@ -1095,7 +1095,7 @@ converse.plugins.add('converse-chatview', {
                 if (is_at_bottom) {
                     scrolled = false;
                     this.onScrolledDown();
-                } else if (this.content.scrollTop === 0) {
+                } else if (this.msgs_container.scrollTop === 0) {
                     /**
                      * Triggered once the chat's message area has been scrolled to the top
                      * @event _converse#chatBoxScrolledUp