Unread scrolled upper
This commit is contained in:
parent
016d5cba9e
commit
eddd070d40
@ -219,7 +219,7 @@ angular.module('myApp.directives', ['myApp.filters'])
|
||||
|
||||
var unreadSplit = $('.im_message_unread_split', scrollableWrap);
|
||||
if (unreadSplit[0]) {
|
||||
scrollableWrap.scrollTop = unreadSplit[0].offsetTop;
|
||||
scrollableWrap.scrollTop = Math.max(0, unreadSplit[0].offsetTop - 52);
|
||||
atBottom = false;
|
||||
} else {
|
||||
scrollableWrap.scrollTop = scrollableWrap.scrollHeight;
|
||||
|
Loading…
Reference in New Issue
Block a user