aboutsummaryrefslogtreecommitdiffstats
path: root/templates/repo
diff options
context:
space:
mode:
authorfuxiaohei <fuxiaohei@vip.qq.com>2014-09-25 21:52:58 +0800
committerfuxiaohei <fuxiaohei@vip.qq.com>2014-09-25 21:52:58 +0800
commit7c30ae7002f203aac1841fefdf535b0d017aabbf (patch)
treedbbf215903c63e7c4838522ba68b20ed11e61a27 /templates/repo
parent089d934547c88a8c3c7ce5587fcc2481cc98f3a3 (diff)
downloadgitea-7c30ae7002f203aac1841fefdf535b0d017aabbf.tar.gz
gitea-7c30ae7002f203aac1841fefdf535b0d017aabbf.zip
is utils improvement
Diffstat (limited to 'templates/repo')
-rw-r--r--templates/repo/pulls.tmpl6
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/repo/pulls.tmpl b/templates/repo/pulls.tmpl
index 73f218ff1a..a36c50ab0b 100644
--- a/templates/repo/pulls.tmpl
+++ b/templates/repo/pulls.tmpl
@@ -87,18 +87,18 @@
<div class="panel-header">
<ul class="menu menu-line add-nav">
<li class="js-tab-nav js-tab-nav-show" data-tab-target="#issue-add-comment-form"><a href="#">Write</a></li>
- <li class="js-tab-nav" data-tab-target="#issue-add-comment-preview"><a href="#">Preview</a></li>
+ <li class="js-tab-nav" data-tab-target="#issue-add-comment-preview"><a href="#" id="pull-issue-preview">Preview</a></li>
</ul>
</div>
<div class="panel-content content">
<form id="issue-add-comment-form" action="#" method="post">
- <textarea class="ipt ipt-radius" name="content" id="issue-add-content"></textarea>
+ <textarea class="ipt ipt-radius js-preview-input" name="content" id="issue-add-content"></textarea>
<p class="submit text-right">
<button class="btn btn-gray btn-radius text-bold" name="submit" value="close">Close pull request</button>&nbsp;&nbsp;
<button class="btn btn-green btn-radius text-bold" name="submit" value="comment">Comment</button>
</p>
</form>
- <div id="issue-add-comment-preview">
+ <div id="issue-add-comment-preview" class="js-preview-container">
preview
</div>
</div>