Bugfix. Properly determine when we've scrolled to top
This commit is contained in:
parent
d7bc129ce3
commit
5222881690
@ -1095,7 +1095,7 @@ converse.plugins.add('converse-chatview', {
|
|||||||
if (is_at_bottom) {
|
if (is_at_bottom) {
|
||||||
scrolled = false;
|
scrolled = false;
|
||||||
this.onScrolledDown();
|
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
|
* Triggered once the chat's message area has been scrolled to the top
|
||||||
* @event _converse#chatBoxScrolledUp
|
* @event _converse#chatBoxScrolledUp
|
||||||
|
Loading…
Reference in New Issue
Block a user