Bartosz Dziewoński has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/343443 )

Change subject: OO.ui.isFocusableElement: Update for jQuery 3 deprecations
......................................................................

OO.ui.isFocusableElement: Update for jQuery 3 deprecations

`$.expr.filters` and `$.expr.pseudos` refer to the same object,
but the former is deprecated starting with jQuery 3.

Bug: T160802
Change-Id: If5ae22df84946dad3f877ea4b738a3071b216918
---
M src/core.js
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/oojs/ui refs/changes/43/343443/1

diff --git a/src/core.js b/src/core.js
index 1aa9a10..f3296b1 100644
--- a/src/core.js
+++ b/src/core.js
@@ -76,7 +76,7 @@
        // Check if the element is visible
        if ( !(
                // This is quicker than calling $element.is( ':visible' )
-               $.expr.filters.visible( element ) &&
+               $.expr.pseudos.visible( element ) &&
                // Check that all parents are visible
                !$element.parents().addBack().filter( function () {
                        return $.css( this, 'visibility' ) === 'hidden';

-- 
To view, visit https://gerrit.wikimedia.org/r/343443
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: If5ae22df84946dad3f877ea4b738a3071b216918
Gerrit-PatchSet: 1
Gerrit-Project: oojs/ui
Gerrit-Branch: master
Gerrit-Owner: Bartosz Dziewoński <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to