Merge "ve.ui.MWEducationPopupTool: Autofocus the button to close it"

This commit is contained in:
jenkins-bot 2020-02-25 14:28:05 +00:00 committed by Gerrit Code Review
commit a0cf9cb9f6

View file

@ -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' } );