diff options
author | John Molakvoæ <skjnldsv@users.noreply.github.com> | 2019-06-19 19:42:38 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-19 19:42:38 +0200 |
commit | 552657223a5dd9f381ec796a2eb5247ec67a60a1 (patch) | |
tree | 54d44f8ce3b86603249b77405f3aa2bc07d016f2 | |
parent | 1e75bb4744866925456b516538694657cd0c7a75 (diff) | |
parent | bf56f2843c3076052894d89b05c9476872639707 (diff) | |
download | nextcloud-server-552657223a5dd9f381ec796a2eb5247ec67a60a1.tar.gz nextcloud-server-552657223a5dd9f381ec796a2eb5247ec67a60a1.zip |
Fix window scroll container (#16009)
Fix window scroll container
-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 |