From f5d121af105c76217ef0026cdf008f5aeac913e3 Mon Sep 17 00:00:00 2001 From: anonfagola Date: Tue, 23 Sep 2014 18:55:50 -0700 Subject: [PATCH] Update threadscroll.js Fixed a line left from debug, and added comments. --- js/threadscroll.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/js/threadscroll.js b/js/threadscroll.js index 9b97074a..4f623ed2 100644 --- a/js/threadscroll.js +++ b/js/threadscroll.js @@ -7,7 +7,7 @@ $(document).mouseover(function(e){ }); $(document).keydown(function(e){ - console.log(e); + //Up arrow if(e.which == 38){ var ele = hoverElem; @@ -25,6 +25,7 @@ $(document).keydown(function(e){ } } } + //Down arrow }else if(e.which == 40){ var ele = hoverElem;