User:Xbony2/common/nei.js

/** var isHovering = false;
 * @author User:Xbony2

$('.grid').on('mouseenter.minetip', function(event){	isHovering = true; });

$('.grid').on('mouseleave.minetip', function(event){	isHovering = false; });

$(document).on('keydown', function(event){	if(isHovering && event.which == 82){//82 is "r".		console.log('Bony Testing');	} });