Skip to content
This repository has been archived by the owner on Jun 26, 2020. It is now read-only.

Commit

Permalink
Changed: Call view post-fixers once before rendering.
Browse files Browse the repository at this point in the history
  • Loading branch information
jodator committed Sep 28, 2018
1 parent 0821d90 commit 53f2d05
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions src/view/view.js
Original file line number Diff line number Diff line change
Expand Up @@ -361,12 +361,11 @@ export default class View {
callback( this._writer );
this._ongoingChange = false;

// Execute all document post-fixers after the change.
this._postFixersInProgress = true;
this.document._callPostFixers( this._writer );
this._postFixersInProgress = false;

if ( !this._renderingDisabled ) {
// Execute all document post-fixers after the change.
this._postFixersInProgress = true;
this.document._callPostFixers( this._writer );
this._postFixersInProgress = false;
this.fire( 'render' );
}
}
Expand Down

0 comments on commit 53f2d05

Please sign in to comment.