Skip to content

Commit d9875ff

Browse files
zeripathjolheisertechknowlogickguillep2k
authored
Refresh codemirror on show pull comment tab (#11100) (#11122)
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]> Co-authored-by: John Olheiser <[email protected]> Co-authored-by: techknowlogick <[email protected]> Co-authored-by: guillep2k <[email protected]>
1 parent cc2a6c1 commit d9875ff

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

web_src/js/index.js

+1
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)