Skip to content

Commit

Permalink
Fixed bug which doesn't display full draft
Browse files Browse the repository at this point in the history
  • Loading branch information
William Moody committed Mar 21, 2021
1 parent b5c842a commit b9875f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion views/pages/index.ejs
Expand Up @@ -20,7 +20,7 @@
<form class="form-inline" method="POST" action="/send">
<div class="input-group">
<% if (draft != null) { %>
<input type="text" class="form-control" name="message" value=<%= draft %> autofocus>
<input type="text" class="form-control" name="message" value="<%= draft %>" autofocus>
<% } else { %>
<input type="text" class="form-control" name="message" placeholder="Type a message..." autofocus>
<% } %>
Expand Down

0 comments on commit b9875f3

Please sign in to comment.