Skip to content

Commit 731bdef

Browse files
zeripathjolheisertechknowlogickguillep2k
authored
Refresh codemirror on show pull comment tab (#11100)
Fix #10975 Signed-off-by: Andrew Thornton <[email protected]> Co-authored-by: John Olheiser <[email protected]> Co-authored-by: techknowlogick <[email protected]> Co-authored-by: guillep2k <[email protected]>
1 parent 12960b9 commit 731bdef

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)