From 5ce5d303e3481877c8e082989ae5c606a131948a Mon Sep 17 00:00:00 2001 From: Jason Harvey Date: Wed, 16 Oct 2013 17:07:38 -0700 Subject: [PATCH] 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. --- r2/r2/templates/usertext.html | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/r2/r2/templates/usertext.html b/r2/r2/templates/usertext.html index a5cd3cab5..4a1b54eda 100644 --- a/r2/r2/templates/usertext.html +++ b/r2/r2/templates/usertext.html @@ -116,10 +116,8 @@
%endif - %if thing.fullname: - ##this is set for both editting selftext and creating new comments - - %endif + ##this is set for both editting selftext and creating new comments + %if not thing.creating: