Make actionbar comment smoother
This commit is contained in:
parent
da07a9a9a4
commit
00f2ea2648
1 changed files with 5 additions and 2 deletions
|
@ -118,8 +118,11 @@
|
|||
};
|
||||
|
||||
$('.actionbar-comment').on('click', function() {
|
||||
$('#comment-section').show();
|
||||
$('#write-comment').click();
|
||||
if ($('#comment-section').css('display') == 'none') {
|
||||
$('#comment-section').show();
|
||||
} else {
|
||||
$('#write-comment').click();
|
||||
}
|
||||
})
|
||||
});
|
||||
</script>
|
||||
|
|
Loading…
Reference in a new issue