Skip to content
Permalink
Browse files

Coding Standards: Fix JSHint error in [45790].

See #41545.

git-svn-id: https://develop.svn.wordpress.org/trunk@45792 602fd350-edb4-49c9-b593-d223f7449a82
  • Loading branch information...
SergeyBiryukov committed Aug 14, 2019
1 parent ee1159c commit e196360f8c9b22497588ad56db8e213f2985cf51
Showing with 3 additions and 2 deletions.
  1. +3 −2 src/js/_enqueues/lib/comment-reply.js
@@ -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;
};

0 comments on commit e196360

Please sign in to comment.
You can’t perform that action at this time.