Coding Standards: Fix JSHint error in [45790].

See #41545.
Built from https://develop.svn.wordpress.org/trunk@45792


git-svn-id: http://core.svn.wordpress.org/trunk@45603 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2019-08-14 00:02:55 +00:00
parent 4cf729f5a9
commit 3ce3927dc1
2 changed files with 4 additions and 3 deletions

View File

@ -104,7 +104,8 @@ window.addComment = ( function( window ) {
commentFormElement.submit.click();
return false;
}
}
};
commentFormElement.addEventListener( 'keydown', submitFormHandler );
var links = replyLinks( context );
@ -321,7 +322,7 @@ window.addComment = ( function( window ) {
* This is for backward compatibility with third party commenting systems
* hooking into the event using older techniques.
*/
cancelElement.onclick = function(){
cancelElement.onclick = function() {
return false;
};

View File

@ -13,7 +13,7 @@
*
* @global string $wp_version
*/
$wp_version = '5.3-alpha-45791';
$wp_version = '5.3-alpha-45792';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.