Skip to content

Commit a8f0e0f

Browse files
zeripathjolheisertechknowlogickguillep2k
committed
Refresh codemirror on show pull comment tab (go-gitea#11100)
Fix go-gitea#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 cc2a6c1 commit a8f0e0f

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
@@ -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)