link fade outs

This commit is contained in:
Baris Usakli
2013-09-19 16:40:02 -04:00
parent 6912e77d25
commit 082375f129

View File

@@ -283,7 +283,10 @@
$('#post-container').on('click', '.link', function() {
var pid = $(this).parents('li').attr('data-pid');
$('#post_' + pid + '_link').val(window.location.href + "#" + pid).fadeToggle().select();
$('#post_' + pid + '_link').val(window.location.href + "#" + pid).stop(true, false).fadeIn().select();
$('#post_' + pid + '_link').off('blur').on('blur', function() {
$(this).fadeOut();
});
});
$('#post-container').delegate('.edit', 'click', function(e) {