diff options
author | Julius Härtl <jus@bitgrid.net> | 2019-06-19 10:56:59 +0200 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2019-06-19 11:14:57 +0200 |
commit | bf56f2843c3076052894d89b05c9476872639707 (patch) | |
tree | a8c80aea80ae6690c6ddfcb806820f832b6d7384 /apps/files | |
parent | 366374d8e3d5927690a51185a974ad139015b897 (diff) | |
download | nextcloud-server-bf56f2843c3076052894d89b05c9476872639707.tar.gz nextcloud-server-bf56f2843c3076052894d89b05c9476872639707.zip |
Fix window scroll container
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'apps/files')
-rw-r--r-- | apps/files/js/filelist.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files/js/filelist.js b/apps/files/js/filelist.js index 4d3a171a8e7..22b5a82326a 100644 --- a/apps/files/js/filelist.js +++ b/apps/files/js/filelist.js @@ -3523,9 +3523,9 @@ var _this = this; var $scrollContainer = this.$container; if ($scrollContainer[0] === window) { - // need to use "body" to animate scrolling + // need to use "html" to animate scrolling // when the scroll container is the window - $scrollContainer = $('body'); + $scrollContainer = $('html'); } $scrollContainer.animate({ // Scrolling to the top of the new element |