Split pmHandler to create auxServer class for easy creation of server classes auxiliary to the channel.
This commit is contained in:
parent
d874f5e2da
commit
597a984e46
3 changed files with 90 additions and 41 deletions
|
|
@ -369,7 +369,6 @@ class pmPanel extends panelObj{
|
|||
handleAutoScroll(){
|
||||
//If autoscroll is enabled
|
||||
if(this.autoScroll){
|
||||
console.log("SCROLLME");
|
||||
//Set seshBuffer scrollTop to the difference between scrollHeight and buffer height (scroll to the bottom)
|
||||
this.seshBuffer.scrollTop = this.seshBuffer.scrollHeight - Math.round(this.seshBuffer.getBoundingClientRect().height);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue