mirror of
https://github.com/seejohnrun/haste-server.git
synced 2025-12-13 02:35:54 +00:00
Added the arrow pointer in
This commit is contained in:
@@ -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();
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user