Skip to content

Commit d9875ff

Browse files
zeripathjolheisertechknowlogickguillep2k
authored
Refresh codemirror on show pull comment tab (go-gitea#11100) (go-gitea#11122)
Fix go-gitea#10975 Signed-off-by: Andrew Thornton <art27@cantab.net> Co-authored-by: John Olheiser <john.olheiser@gmail.com> Co-authored-by: techknowlogick <techknowlogick@gitea.io> Co-authored-by: guillep2k <18600385+guillep2k@users.noreply.github.com> Co-authored-by: John Olheiser <john.olheiser@gmail.com> Co-authored-by: techknowlogick <techknowlogick@gitea.io> Co-authored-by: guillep2k <18600385+guillep2k@users.noreply.github.com>
1 parent cc2a6c1 commit d9875ff

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

web_src/js/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1098,6 +1098,7 @@ function initRepository() {
10981098
$repoComparePull.find('button.show-form').on('click', function (e) {
10991099
e.preventDefault();
11001100
$repoComparePull.find('.pullrequest-form').show();
1101+
autoSimpleMDE.codemirror.refresh();
11011102
$(this).parent().hide();
11021103
});
11031104
}

0 commit comments

Comments
 (0)