fdfd
This commit is contained in:
parent
23bcb2ddc4
commit
2ba4576f2f
1 changed files with 1 additions and 1 deletions
|
@ -1088,7 +1088,7 @@ def submit_post(v):
|
||||||
new_post.voted = 1
|
new_post.voted = 1
|
||||||
if 'megathread' in new_post.title.lower(): sort = 'new'
|
if 'megathread' in new_post.title.lower(): sort = 'new'
|
||||||
else: sort = v.defaultsortingcomments
|
else: sort = v.defaultsortingcomments
|
||||||
if c: new_post.replies = [c]
|
if len(body_html) < 40000: new_post.replies = [c]
|
||||||
return render_template('submission.html', v=v, p=new_post, sort=sort, render_replies=True, offset=0, success=True)
|
return render_template('submission.html', v=v, p=new_post, sort=sort, render_replies=True, offset=0, success=True)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue