Commit 53584159 authored by Liang Ding's avatar Liang Ding

📝 #12246

parent 9b2e4b94
......@@ -614,9 +614,9 @@ $.extend(Page.prototype, {
result.userName = Util.getUserName();
}
if (typeof(addComment) === "undefined") {
if (typeof(addComment) === "undefined") { // https://github.com/b3log/solo/issues/12246
that.addCommentAjax(result.cmtTpl, state);
} else {
} else { // 1.9.0 向后兼容
that.addCommentAjax(addComment(result, state), state);
}
}
......
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