jenkins-bot has submitted this change and it was merged. (
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(-)
Approvals:
jenkins-bot: Verified
VolkerE: Looks good to me, approved
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: merged
Gerrit-Change-Id: If5ae22df84946dad3f877ea4b738a3071b216918
Gerrit-PatchSet: 1
Gerrit-Project: oojs/ui
Gerrit-Branch: master
Gerrit-Owner: Bartosz DziewoĆski <[email protected]>
Gerrit-Reviewer: VolkerE <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits