Skip to content

Commit 3f8631c

Browse files
committed
fix post func
1 parent 2d8b04f commit 3f8631c

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -410,8 +410,8 @@ <h3 id='post-panel-title'>发表新文章</h3>
410410
</ul>
411411
</div>
412412
<div class='mob-display'>
413-
<a class='btn btn-primary' id='publish-post-button'>发表</a>
414-
<a class='btn cancel-button' id='cancel-post-button'>取消</a>
413+
<a class='btn btn-primary' id='publish-post-button1'>发表</a>
414+
<a class='btn cancel-button' id='cancel-post-button'>取消</a>
415415
</div>
416416
<div class='control-group fluid'>
417417
内容:<textarea class='input-xlarge' id='write-post-content'></textarea>
@@ -428,7 +428,7 @@ <h3 id='post-panel-title'>发表新文章</h3>
428428
</fieldset>
429429
</form>
430430
</div>
431-
<div class='modal-footer mob-hide'>
431+
<div class='modal-footer'>
432432
<a class='btn btn-primary' id='publish-post-button'>发表</a>
433433
<a class='btn cancel-button' id='cancel-post-button'>取消</a>
434434
</div>

js/bbs/bbs_UI.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ function UI_register_func_post_modal() {
265265
});
266266

267267
$('#publish-post-button').click(UI_write_post);
268-
268+
$('#publish-post-button0').click(UI_write_post);
269269
$(document).on('click', '#write-post-panel .cancel-button', function() {
270270
if (confirm(bbs_string.confirm_cancel_post)) {
271271
UI_hide_write_post();

0 commit comments

Comments
 (0)