Skip to content

Commit 2bc822f

Browse files
committed
Refresh codemirror on show pull comment tab
Fix go-gitea#10975 Signed-off-by: Andrew Thornton <[email protected]>
1 parent 9ffa892 commit 2bc822f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

web_src/js/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1135,6 +1135,7 @@ async function initRepository() {
11351135
$repoComparePull.find('button.show-form').on('click', function (e) {
11361136
e.preventDefault();
11371137
$repoComparePull.find('.pullrequest-form').show();
1138+
autoSimpleMDE.codemirror.refresh();
11381139
$(this).parent().hide();
11391140
});
11401141
}

0 commit comments

Comments
 (0)