mirror of
https://github.com/nextcloud/server.git
synced 2025-10-26 19:21:34 +00:00
code style fix
This commit is contained in:
parent
b94252e479
commit
4e5f37a05d
@ -408,18 +408,10 @@ var dragOptions={
|
||||
var bottom = $(window).innerHeight() - scrollArea;
|
||||
var top = $(window).scrollTop() + scrollArea;
|
||||
if (event.pageY < top){
|
||||
|
||||
$(scrollingArea).scrollTop(
|
||||
currentScrollTop -= 10
|
||||
);
|
||||
|
||||
$(scrollingArea).scrollTop(currentScrollTop - 10);
|
||||
}
|
||||
else if (event.pageY > bottom) {
|
||||
|
||||
$(scrollingArea).scrollTop(
|
||||
currentScrollTop += 10
|
||||
);
|
||||
|
||||
else if (event.pageY > bottom) {
|
||||
$(scrollingArea).scrollTop(currentScrollTop + 10);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user