From: Cory Chaplin Date: Sun, 3 Mar 2013 19:54:46 +0000 (+0000) Subject: Fix for #242 (autoscroll broken on Chrome) X-Git-Url: https://jfr.im/git/irc/quakenet/qwebirc.git/commitdiff_plain/2db47312ba944bdc5e4dd427e42fde9435ec6fa0 Fix for #242 (autoscroll broken on Chrome) --- diff --git a/AUTHORS b/AUTHORS index 47f7da0..eb85982 100644 --- a/AUTHORS +++ b/AUTHORS @@ -7,4 +7,4 @@ Bas Verhoeven (soczol) Tom Wesley (tomaw) Jason Hill (SecretAgent) anarcat - +Copy Chaplin < diff --git a/js/ui/baseuiwindow.js b/js/ui/baseuiwindow.js index 1802c03..5369d1a 100644 --- a/js/ui/baseuiwindow.js +++ b/js/ui/baseuiwindow.js @@ -195,6 +195,9 @@ qwebirc.ui.Window = new Class({ if(this.scrolltimer) $clear(this.scrolltimer); this.scrolltimer = this.scrollAdd.delay(50, this, [null]); + } else { + this.scrollToBottom(); + this.scrolltimer = null; } } else { this.scrollToBottom();