code style fix
This commit is contained in:
parent
b94252e479
commit
4e5f37a05d
1 changed files with 3 additions and 11 deletions
|
@ -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 a new issue