Use template backticks for the Notes string to handle multi-line

This commit is contained in:
Isaac Connor 2022-03-04 13:41:19 -05:00
parent 8db08f5a10
commit 10402fdabe
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ var eventData = {
MonitorId: '<?php echo $Event->MonitorId() ?>',
MonitorName: '<?php echo validJsStr($monitor->Name()) ?>',
Cause: '<?php echo validHtmlStr($Event->Cause()) ?>',
Notes: '<?php echo $Event->Notes()?>',
Notes: `<?php echo $Event->Notes()?>`,
Width: '<?php echo $Event->Width() ?>',
Height: '<?php echo $Event->Height() ?>',
Length: '<?php echo $Event->Length() ?>',