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() {
|
$('.actionbar-comment').on('click', function() {
|
||||||
$('#comment-section').show();
|
if ($('#comment-section').css('display') == 'none') {
|
||||||
$('#write-comment').click();
|
$('#comment-section').show();
|
||||||
|
} else {
|
||||||
|
$('#write-comment').click();
|
||||||
|
}
|
||||||
})
|
})
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
Loading…
Reference in a new issue