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:
Alex Monk 2014-06-27 21:48:59 +01:00
parent 47ebf562a4
commit e3e116f0ae

View file

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