Fix post header height
This commit is contained in:
@@ -936,12 +936,13 @@ function getPost(asPost) {
|
||||
.data('url', self.consts.server+sHash)
|
||||
.addIcon('fa-link')
|
||||
.click(function(){
|
||||
copyTextToClipboard($(this).data('url'));
|
||||
$(this).parent().append($('<span>', {'class':'link_copied'})
|
||||
.text(oSpot.lang('link_copied'))
|
||||
.delay(5000)
|
||||
.fadeOut(400, function(){$(this).remove();})
|
||||
);
|
||||
let $Link = $(this);
|
||||
copyTextToClipboard($Link.data('url'));
|
||||
$Link.prop('title', oSpot.lang('link_copied')).find('i.fa').addClass('copied');
|
||||
$Link.delay(5000).fadeOut(300, function(){
|
||||
$Link.prop('title', oSpot.lang('copy_to_clipboard')).find('i.fa').removeClass('copied');
|
||||
$Link.fadeIn(300);
|
||||
});
|
||||
})
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user