Coding Standards: Fix JSHint error in [45790].
See #41545. git-svn-id: https://develop.svn.wordpress.org/trunk@45792 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
ee1159c4fe
commit
e196360f8c
@ -104,7 +104,8 @@ window.addComment = ( function( window ) {
|
|||||||
commentFormElement.submit.click();
|
commentFormElement.submit.click();
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
};
|
||||||
|
|
||||||
commentFormElement.addEventListener( 'keydown', submitFormHandler );
|
commentFormElement.addEventListener( 'keydown', submitFormHandler );
|
||||||
|
|
||||||
var links = replyLinks( context );
|
var links = replyLinks( context );
|
||||||
@ -321,7 +322,7 @@ window.addComment = ( function( window ) {
|
|||||||
* This is for backward compatibility with third party commenting systems
|
* This is for backward compatibility with third party commenting systems
|
||||||
* hooking into the event using older techniques.
|
* hooking into the event using older techniques.
|
||||||
*/
|
*/
|
||||||
cancelElement.onclick = function(){
|
cancelElement.onclick = function() {
|
||||||
return false;
|
return false;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user