summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoranonfagola <anonfagola@users.noreply.github.com>2014-09-23 18:55:50 -0700
committerczaks <marcin@6irc.net>2014-09-24 04:47:40 +0200
commitf5d121af105c76217ef0026cdf008f5aeac913e3 (patch)
tree779166853cdcc010c487b4ff2e9acab24488a621
parent45dd9e637f94d3e0b4c8c1f02a378fff4f199afd (diff)
Update threadscroll.js
Fixed a line left from debug, and added comments.
-rw-r--r--js/threadscroll.js3
1 files changed, 2 insertions, 1 deletions
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;