1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2025-02-20 12:41:17 +01:00

Update threadscroll.js

Fixed a line left from debug, and added comments.
This commit is contained in:
anonfagola 2014-09-23 18:55:50 -07:00
parent c3c391be9e
commit ab9f5d106e

View File

@ -7,7 +7,7 @@ $(document).mouseover(function(e){
}); });
$(document).keydown(function(e){ $(document).keydown(function(e){
console.log(e); //Up arrow
if(e.which == 38){ if(e.which == 38){
var ele = hoverElem; var ele = hoverElem;
@ -25,6 +25,7 @@ $(document).keydown(function(e){
} }
} }
} }
//Down arrow
}else if(e.which == 40){ }else if(e.which == 40){
var ele = hoverElem; var ele = hoverElem;