Skip to content

Commit 352bcce

Browse files
sinchangJacksonTian
authored andcommitted
fix: reply history (#83)
* fix: reply history * fix: signature cursor
1 parent d89afbd commit 352bcce

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

app/controller/reply.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ class ReplyController extends Controller {
99
async add() {
1010
const { ctx, service } = this;
1111
const content = ctx.request.body.r_content;
12-
const reply_id = ctx.params.reply_id;
12+
const reply_id = ctx.request.body.reply_id;
1313

1414
if (content.trim() === '') {
1515
ctx.status = 422;

app/view/topic/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@
169169
<% } %>
170170
</div>
171171

172-
<div class="replies_history">
172+
<div class="replies_history" style="display: none;">
173173
<div class="inner_content"></div>
174174
<div class="anchor"></div>
175175
</div>

app/view/user/setting.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,7 @@
7979
<label class='control-label' for='signature'>个性签名</label>
8080

8181
<div class='controls'>
82-
<textarea class='input-xlarge' id='signature' name='signature' size='30'><%= typeof user.signature !== 'undefined' ? user.signature : "" %>
83-
</textarea>
82+
<textarea class='input-xlarge' id='signature' name='signature' size='30'><%= typeof user.signature !== 'undefined' ? user.signature : "" %></textarea>
8483
</div>
8584
</div>
8685
<input type='hidden' id='action' name='action' value='change_setting'/>

0 commit comments

Comments
 (0)