mirror of https://github.com/zulip/zulip.git
Have Spacebar exhibit the same scrolling behavior as PgDn.
(imported from commit 46a1204a9a8b973e7fa6bae9c65a9dc9f341077c)
This commit is contained in:
parent
2d4857d6c1
commit
bf73a54576
|
@ -66,6 +66,7 @@ function process_hotkey(code) {
|
|||
select_message(get_first_visible(), false);
|
||||
}
|
||||
return false; // We want the browser to actually page up and down
|
||||
case 32: // Spacebar
|
||||
case 34: // Page Down
|
||||
if (at_bottom_of_viewport()) {
|
||||
select_message(get_last_visible(), false);
|
||||
|
|
Loading…
Reference in New Issue