Commit fd84c69b authored by 蒋林's avatar 蒋林

评论列表显示

parent b367419e
...@@ -34,7 +34,7 @@ $(".send-pl").click(function () { ...@@ -34,7 +34,7 @@ $(".send-pl").click(function () {
}, 'json'); }, 'json');
}); });
function comments(newsid) { function comments() {
var lastplid = $(".comment-list li:last-child").attr('data-id'); var lastplid = $(".comment-list li:last-child").attr('data-id');
lastplid = lastplid ? lastplid : 0; lastplid = lastplid ? lastplid : 0;
$.post("/e/action/news/comment.php", {newsid: newsid, lastplid: lastplid}, function (e) { $.post("/e/action/news/comment.php", {newsid: newsid, lastplid: lastplid}, function (e) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment