mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
Twenty Nineteen: Fix a JS coding standard issue found after [55970].
Follow-up to [55970]. See #46474. git-svn-id: https://develop.svn.wordpress.org/trunk@55972 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -274,7 +274,7 @@
|
||||
|
||||
document.addEventListener('focus', function(event) {
|
||||
|
||||
if ( event.target != window.document && event.target.matches( '.main-navigation > div > ul > li a' ) ) {
|
||||
if ( event.target !== window.document && event.target.matches( '.main-navigation > div > ul > li a' ) ) {
|
||||
|
||||
// Remove Focused elements in sibling div.
|
||||
var currentDiv = getCurrentParent( event.target, 'div', '.main-navigation' );
|
||||
|
||||
Reference in New Issue
Block a user