Add tooltips to Player Settings page.
This commit is contained in:
parent
de93790882
commit
3b159632b5
|
@ -183,6 +183,7 @@ const buildRangeSettings = (parentElement, settings) => {
|
|||
optionName.className = 'option-name';
|
||||
const optionLabel = document.createElement('label');
|
||||
optionLabel.setAttribute('for', settingId);
|
||||
optionLabel.setAttribute('data-tooltip', setting.description);
|
||||
optionLabel.innerText = setting.friendlyName;
|
||||
optionName.appendChild(optionLabel);
|
||||
optionRow.appendChild(optionName);
|
||||
|
|
Loading…
Reference in New Issue