mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-11-30 18:45:07 +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
|
// Actions menu
|
||||||
this.actionsButtonSelectWidget = new OO.ui.ButtonSelectWidget( {
|
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
|
// Popup menu
|
||||||
|
@ -161,6 +162,7 @@
|
||||||
// Limit to 2 items outside the menu
|
// Limit to 2 items outside the menu
|
||||||
if ( isOutsideMenu ) {
|
if ( isOutsideMenu ) {
|
||||||
this.actionsButtonSelectWidget.addItems( [ linkButton ] );
|
this.actionsButtonSelectWidget.addItems( [ linkButton ] );
|
||||||
|
this.actionsButtonSelectWidget.setTabIndex( 0 );
|
||||||
outsideMenuItemCounter++;
|
outsideMenuItemCounter++;
|
||||||
} else {
|
} else {
|
||||||
this.menuPopupButtonWidget.getMenu().addItems( [ linkButton ] );
|
this.menuPopupButtonWidget.getMenu().addItems( [ linkButton ] );
|
||||||
|
|
Loading…
Reference in a new issue