mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-11-23 23:44:53 +00:00
Remove unnecessary table markup announcement in notification item widget
Bug: T253406 Change-Id: Ibc9d3101b86c4dfb534d37ac2ca42e965fa45ad3
This commit is contained in:
parent
190d53ba3f
commit
172fb93f14
|
@ -77,7 +77,8 @@
|
|||
|
||||
// Actions menu
|
||||
this.actionsButtonSelectWidget = new OO.ui.ButtonSelectWidget( {
|
||||
classes: [ 'mw-echo-ui-notificationItemWidget-content-actions-buttons' ]
|
||||
classes: [ 'mw-echo-ui-notificationItemWidget-content-actions-buttons' ],
|
||||
tabIndex: -1
|
||||
} );
|
||||
|
||||
// Popup menu
|
||||
|
@ -161,6 +162,7 @@
|
|||
// Limit to 2 items outside the menu
|
||||
if ( isOutsideMenu ) {
|
||||
this.actionsButtonSelectWidget.addItems( [ linkButton ] );
|
||||
this.actionsButtonSelectWidget.setTabIndex( 0 );
|
||||
outsideMenuItemCounter++;
|
||||
} else {
|
||||
this.menuPopupButtonWidget.getMenu().addItems( [ linkButton ] );
|
||||
|
|
Loading…
Reference in a new issue