Skip to content

Commit

Permalink
Refresh codemirror on show pull comment tab (#11100) (#11122)
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
4 people authored Apr 18, 2020
1 parent cc2a6c1 commit d9875ff
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions web_src/js/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -1098,6 +1098,7 @@ function initRepository() {
$repoComparePull.find('button.show-form').on('click', function (e) {
e.preventDefault();
$repoComparePull.find('.pullrequest-form').show();
autoSimpleMDE.codemirror.refresh();
$(this).parent().hide();
});
}
Expand Down

0 comments on commit d9875ff

Please sign in to comment.