summaryrefslogtreecommitdiffstats
path: root/apps/files/js/files.js
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files/js/files.js')
-rw-r--r--apps/files/js/files.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/js/files.js b/apps/files/js/files.js
index 39a25becf12..028ff94b88c 100644
--- a/apps/files/js/files.js
+++ b/apps/files/js/files.js
@@ -412,7 +412,7 @@ var dragOptions={
$(scrollingArea).scrollTop(currentScrollTop-=10);
}
- if (event.pageY > bottom)
+ else if (event.pageY > bottom)
{
$(scrollingArea).scrollTop(currentScrollTop+=10);