mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-01-27 07:48:16 -05:00
Fix: ensure input element exists even if it initially has no value.
reddit.js will insert a value in this element, so it must exist. Without it, things like message replies break.
This commit is contained in:
@@ -116,10 +116,8 @@
|
||||
<div class="${thing.css_class}">
|
||||
%endif
|
||||
|
||||
%if thing.fullname:
|
||||
##this is set for both editting selftext and creating new comments
|
||||
<input type="hidden" name="thing_id" value="${thing.fullname}"/>
|
||||
%endif
|
||||
##this is set for both editting selftext and creating new comments
|
||||
<input type="hidden" name="thing_id" value="${thing.fullname}"/>
|
||||
|
||||
%if not thing.creating:
|
||||
<div class="usertext-body">
|
||||
|
||||
Reference in New Issue
Block a user