mirror of https://github.com/zulip/zulip.git
Mark messages as read as you scroll by them
(imported from commit 7e4595dcbfe900bde7f062e3fe9e2d53c71b6884)
This commit is contained in:
parent
d3364eef5d
commit
95c9c6817f
|
@ -541,6 +541,8 @@ $(function () {
|
|||
scroll_timer = setTimeout(scroll_finished, 100);
|
||||
}
|
||||
|
||||
$(window).scroll(process_visible_unread_messages);
|
||||
|
||||
$(window).scroll($.throttle(50, function (e) {
|
||||
if (!hotkeys.in_scroll_caused_by_keypress) {
|
||||
// Only hide the recipient bar when mousewheel/trackpad scrolling,
|
||||
|
|
Loading…
Reference in New Issue