]> source.dussan.org Git - nextcloud-server.git/commit
Use body element when animating scroll in public page
authorVincent Petry <pvince81@owncloud.com>
Wed, 15 Oct 2014 08:14:20 +0000 (10:14 +0200)
committerVincent Petry <pvince81@owncloud.com>
Wed, 15 Oct 2014 08:53:25 +0000 (10:53 +0200)
commit149b55f8aeac76c2efdab1373797ef0b7a7de81a
tree12989e63b4f904ae2b5405fb000b78edaad6fde3
parente7a46ed9e7e33305951ee7643892f77b04319639
Use body element when animating scroll in public page

In the public page the scroll container is the window instead of a div.
The $(window) object doesn't support animating the scroll property, so
the $('body') element is used instead.

Backport of 704ffaa6a37730f02a3359e8e8f0a0070f0e0d31 from master
apps/files/js/filelist.js