Use non-browser specific code for scrolling
This commit is contained in:
parent
fc8714b4d4
commit
824e86774c
|
@ -466,7 +466,7 @@ weechat.controller('WeechatCtrl', ['$rootScope', '$scope', '$store', '$timeout',
|
|||
if(readmarker) {
|
||||
readmarker.scrollIntoView();
|
||||
}else{
|
||||
window.scroll(0, window.scrollMaxY);
|
||||
window.scroll(0, document.documentElement.scrollHeight - document.documentElement.clientHeight);
|
||||
}
|
||||
}, 300);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue