Commit 52228816 authored by JC Brand's avatar JC Brand

Bugfix. Properly determine when we've scrolled to top

parent d7bc129c
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment