Hoo man has uploaded a new change for review.
https://gerrit.wikimedia.org/r/79847
Change subject: Make variant selection menu toggleable by keyboard
......................................................................
Make variant selection menu toggleable by keyboard
Altered the selector as the variant selection menu
uses a slightly different dom structure than the
other menus.
Bug: 46486
Change-Id: I4fdfe1cf002e4f5370b7073b509e33828db7dcbf
---
M skins/vector/vector.js
1 file changed, 2 insertions(+), 2 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core
refs/changes/47/79847/1
diff --git a/skins/vector/vector.js b/skins/vector/vector.js
index ff3332f..73c1f7a 100644
--- a/skins/vector/vector.js
+++ b/skins/vector/vector.js
@@ -4,8 +4,8 @@
jQuery( function ( $ ) {
$( 'div.vectorMenu' ).each( function () {
var $el = $( this );
- $el.find( 'h3:first a:first' )
- // For accessibility, show the menu when the hidden
link in the menu is clicked (bug 24298)
+ $el.find( '> h3 > a' )
+ // For accessibility, show the menu when the hidden
link in the menu is clicked (bug 24298/46486)
.click( function ( e ) {
$el.find( '.menu:first' ).toggleClass(
'menuForceShow' );
e.preventDefault();
--
To view, visit https://gerrit.wikimedia.org/r/79847
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I4fdfe1cf002e4f5370b7073b509e33828db7dcbf
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Hoo man <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits