mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-06 14:05:46 +01:00
added post links
This commit is contained in:
@@ -281,6 +281,11 @@
|
||||
}
|
||||
});
|
||||
|
||||
$('#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-container').delegate('.edit', 'click', function(e) {
|
||||
var pid = $(this).parents('li').attr('data-pid'),
|
||||
main = $(this).parents('.main-post');
|
||||
|
||||
Reference in New Issue
Block a user