sfd
This commit is contained in:
parent
0aff3d5552
commit
8ffaa57d30
1 changed files with 1 additions and 1 deletions
|
@ -684,7 +684,7 @@ def api_comment(v):
|
||||||
g.db.commit()
|
g.db.commit()
|
||||||
|
|
||||||
if request.headers.get("Authorization"): return c.json
|
if request.headers.get("Authorization"): return c.json
|
||||||
return {"comment": c.body_html}
|
return {"comment": render_template("comments.html", v=v, comments=[c], ajax=True)}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue