mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-15 02:23:58 +00:00
Set tabindex for template dialog info/remove buttons on parent <div> rather than <a>
Makes Firefox happy. Not sure why. Bug: 66824 Change-Id: I6cf69c7ea36dc7870af59e7edc2f137143ba7ad5
This commit is contained in:
parent
47ebf562a4
commit
e3e116f0ae
|
@ -159,10 +159,10 @@ ve.ui.MWTemplateDialog.prototype.onAddParameter = function ( param ) {
|
|||
.find( '.ve-ui-mwParameterPage-field > .oo-ui-textInputWidget > textarea' )
|
||||
.attr( 'tabindex', index * 3 + 1 )
|
||||
.end()
|
||||
.find( '.ve-ui-mwParameterPage-infoButton > a' )
|
||||
.find( '.ve-ui-mwParameterPage-infoButton' )
|
||||
.attr( 'tabindex', index * 3 + 2 )
|
||||
.end()
|
||||
.find( '.ve-ui-mwParameterPage-removeButton > a' )
|
||||
.find( '.ve-ui-mwParameterPage-removeButton' )
|
||||
.attr( 'tabindex', index * 3 + 3 );
|
||||
} );
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue