Updated client-side DOM manipulation functions to unescape char-codes before injecting them via innerText instead of raw-dogging it into innerHTML
This commit is contained in:
parent
e46513cc1a
commit
4ed4b572f2
10 changed files with 25 additions and 26 deletions
|
|
@ -833,6 +833,7 @@ class queuePanel extends panelObj{
|
|||
timetip.moveToMouse(event);
|
||||
|
||||
//Inject timetip label
|
||||
//Normally wouldn't do innerHTML but these values are calculated serverside and it saves us making a <br> element
|
||||
timetip.tooltip.innerHTML = [
|
||||
`Start Time: ${utils.ux.timeStringFromDate(start, true)}`,
|
||||
`End Time: ${utils.ux.timeStringFromDate(new Date(start.getTime() + (target.dataset['duration'] * 1000)), true)}`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue