mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-09 15:35:47 +01:00
link fade outs
This commit is contained in:
@@ -283,7 +283,10 @@
|
|||||||
|
|
||||||
$('#post-container').on('click', '.link', function() {
|
$('#post-container').on('click', '.link', function() {
|
||||||
var pid = $(this).parents('li').attr('data-pid');
|
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) {
|
$('#post-container').delegate('.edit', 'click', function(e) {
|
||||||
|
|||||||
Reference in New Issue
Block a user