From d3467edb70b9fbe8a520294e2e2ca192bbb51384 Mon Sep 17 00:00:00 2001 From: Erik Pellikka Date: Tue, 23 Feb 2016 09:12:54 -0500 Subject: [PATCH] added elseif --- apps/files/js/files.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);