mirror of
https://github.com/thelounge/thelounge.git
synced 2024-06-27 09:40:09 +02:00
Merge pull request #1078 from thelounge/1022-slow-scrolling
Add fix for slow scrolling when holding pg-up/pg-dn
This commit is contained in:
commit
06af65cf01
|
@ -1256,6 +1256,9 @@ $(function() {
|
||||||
"pagedown"
|
"pagedown"
|
||||||
], function(e, key) {
|
], function(e, key) {
|
||||||
let container = windows.find(".window.active");
|
let container = windows.find(".window.active");
|
||||||
|
if (container.is(":animated")) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
// Chat windows scroll message container
|
// Chat windows scroll message container
|
||||||
if (container.attr("id") === "chat-container") {
|
if (container.attr("id") === "chat-container") {
|
||||||
|
|
Loading…
Reference in a new issue