diff --git a/resources/skins.vector.clientPreferences/clientPreferences.js b/resources/skins.vector.clientPreferences/clientPreferences.js index 21dc6caff..49ac4d047 100644 --- a/resources/skins.vector.clientPreferences/clientPreferences.js +++ b/resources/skins.vector.clientPreferences/clientPreferences.js @@ -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 );