mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-15 03:34:25 +00:00
Fixes: Duplicate events for radio buttons
Bug: T352075 Change-Id: I9cec0b23618162ba74ccd9cd2e27e9171cdc8d6e
This commit is contained in:
parent
991419e877
commit
15250424b3
|
@ -75,7 +75,7 @@ function appendRadioToggle( parent, featureName, value, currentValue ) {
|
|||
label.setAttribute( 'for', id );
|
||||
const container = document.createElement( 'div' );
|
||||
container.classList.add( 'cdx-radio' );
|
||||
container.setAttribute( 'data-event-name', id );
|
||||
input.setAttribute( 'data-event-name', id );
|
||||
container.appendChild( input );
|
||||
container.appendChild( icon );
|
||||
container.appendChild( label );
|
||||
|
|
Loading…
Reference in a new issue