Use non-browser specific code for scrolling

This commit is contained in:
Tor Hveem 2013-10-12 21:16:40 +02:00
parent fc8714b4d4
commit 824e86774c
1 changed files with 1 additions and 1 deletions

View File

@ -466,7 +466,7 @@ weechat.controller('WeechatCtrl', ['$rootScope', '$scope', '$store', '$timeout',
if(readmarker) { if(readmarker) {
readmarker.scrollIntoView(); readmarker.scrollIntoView();
}else{ }else{
window.scroll(0, window.scrollMaxY); window.scroll(0, document.documentElement.scrollHeight - document.documentElement.clientHeight);
} }
}, 300); }, 300);
} }