fixed a few logical errors between post/MainView.js and list/Post.php