code style fix

This commit is contained in:
Erik Pellikka 2016-02-23 09:22:58 -05:00 committed by Morris Jobke
parent d3467edb70
commit 74dfc63b9a
No known key found for this signature in database
GPG Key ID: 9CE5ED29E7FCD38A
1 changed files with 6 additions and 2 deletions

View File

@ -409,13 +409,17 @@ var dragOptions={
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);
$(scrollingArea).scrollTop(
currentScrollTop += 10
);
}