Added the arrow pointer in

This commit is contained in:
John Crepezzi 2011-11-28 09:39:31 -05:00
parent 315333d8eb
commit 9e046ba8eb
4 changed files with 18 additions and 1 deletions

View file

@ -254,10 +254,12 @@ haste.prototype.configureButton = function(options) {
$('#key .box3 .label').text(options.label);
$('#key .box3 .shortcut').text(options.shortcutDescription || '');
$('#key .box3').show();
$(this).append($('#pointer').remove().show());
});
// Hide the label
options.$where.mouseleave(function(evt) {
$('#key .box3').hide();
$('#pointer').hide();
});
};