Skip to content

Node.js based forum software built for the modern web

link fade outs

Baris Usakli082375f1296c
diff --git a/public/src/forum/topic.js b/public/src/forum/topic.js
index 0dd01ef2e4..8f960577bd 100644
--- a/public/src/forum/topic.js
+++ b/public/src/forum/topic.js
@@ -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) {