sched: superscript asterisk (for space)

pull/2782/head
Rob Pilling 2023-05-29 21:01:17 +01:00
parent bbd93f530c
commit 1749b4c2f1
1 changed files with 5 additions and 1 deletions

View File

@ -138,7 +138,11 @@ function renderAlarm(alarm, exists) {
};
}
}
if (!exists) tdType.textContent = "* " + tdType.textContent;
if (!exists) {
const asterisk = document.createElement('sup');
asterisk.textContent = '*';
tdType.appendChild(asterisk);
}
inputTime.classList.add('event-date');
inputTime.classList.add('form-input');
inputTime.dataset.uid = alarm.id;