Make actionbar comment smoother

This commit is contained in:
cuom1999 2023-04-26 03:14:43 -05:00
parent da07a9a9a4
commit 00f2ea2648

View file

@ -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>