Skip to content
This repository has been archived by the owner on Nov 22, 2019. It is now read-only.

Commit

Permalink
adjust clearing of messages
Browse files Browse the repository at this point in the history
  • Loading branch information
mdrillin committed Jun 27, 2018
1 parent 1cf5fdb commit 5407b29
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -471,7 +471,7 @@ export class ViewEditorService {
const messages = ViewValidator.validate( this.getEditorView() );

// clear message log
if ( this.getMessageCount() !== 0 && messages.length !== 0 ) {
if ( this.getMessageCount() !== 0 ) {
this.clearMessages( ViewEditorPart.EDITOR, context );
}

Expand Down

0 comments on commit 5407b29

Please sign in to comment.