mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 20:30:23 +00:00
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:
@@ -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;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user