Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion assets/build/frontend/main.asset.php
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<?php return array('dependencies' => array('wp-i18n'), 'version' => 'b145b8f23bfb859fdb34');
<?php return array('dependencies' => array('wp-i18n'), 'version' => '153ab9d38663373cb700');
2 changes: 1 addition & 1 deletion assets/build/frontend/main.js

Large diffs are not rendered by default.

8 changes: 7 additions & 1 deletion assets/src/frontend/main/reporting/BrowserReporting.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,13 @@ function BrowserReporting() {
// browser automatically hide tooltip messages
};
this.validateOnChange = function () {
this.validate().then( () => {} ).catch( () => {} );
this.getErrors().then( errors => {
this.validityState.current = !Boolean( errors.length );

if ( !errors.length ) {
this.clearReport();
}
} ).catch( () => {} );
};

this.getErrorsRaw = async function ( promises ) {
Expand Down
Loading