mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-12 09:09:25 +00:00
Merge "ve.ui.MWEducationPopupTool: Autofocus the button to close it"
This commit is contained in:
commit
a0cf9cb9f6
|
@ -81,6 +81,7 @@ ve.ui.MWEducationPopupTool = function VeUiMwEducationPopupTool( config ) {
|
|||
ve.init.target.openEducationPopupTool = tool;
|
||||
tool.$pulsatingDot.addClass( 'oo-ui-element-hidden' );
|
||||
tool.popup.toggle( true );
|
||||
popupCloseButton.focus();
|
||||
$shield.remove();
|
||||
|
||||
ve.track( 'activity.' + tool.constructor.static.name + 'EducationPopup', { action: 'show' } );
|
||||
|
|
Loading…
Reference in a new issue