Add fade to edit buttons and fix queueing of animation

This commit is contained in:
Isaac Bythewood
2013-03-12 05:05:43 +00:00
parent 6539b41a5c
commit bcf480e639

View File

@@ -71,7 +71,9 @@ $(window).load(function() {
thisPin.find('.editable').hide();
thisPin.off('hover');
thisPin.hover(function() {
thisPin.find('.editable').toggle();
thisPin.find('.editable').stop(true, true).fadeIn(300);
}, function() {
thisPin.find('.editable').stop(true, false).fadeOut(300);
});
});