이렇게 해야지 에러가 어디서 났는지도 알기 쉬움
=> console.log(내용)
function openclose(){
let status = $('#post-box').css('display');
console.log(status);
if(status == 'block'){
$('#post-box').hide();
$('#btn-posting-box').text('포스팅박스 열기');
}else{
$('#post-box').show();
$('#btn-posting-box').text('포스팅박스 닫기');
}
}