Realtime Preview: don't hide diff view on refresh

Bug: T307046
Change-Id: I77379a323b7532595685494de10b89be65e49954
This commit is contained in:
MusikAnimal 2022-07-06 16:34:52 -04:00
parent 12661580d4
commit 7f329a7453

View file

@ -340,7 +340,9 @@ RealtimePreview.prototype.doRealtimePreview = function ( forceUpdate ) {
$textareaNode: $textareaNode,
$previewNode: this.$previewNode,
$spinnerNode: false,
loadingSelectors: loadingSelectors
loadingSelectors: loadingSelectors,
// Don't hide the diff view, if visible.
$diffNode: null
} ).done( function () {
this.errorLayout.toggle( false );
}.bind( this ) ).fail( function ( code, result ) {