change let to var
This commit is contained in:
parent
c9032d3cb4
commit
e79d7ec736
|
@ -67,10 +67,10 @@ function logResponse( respObj ) {
|
||||||
|
|
||||||
// Manually create table cells by setting the text since `push` will set HTML which
|
// Manually create table cells by setting the text since `push` will set HTML which
|
||||||
// can lead to XSS.
|
// can lead to XSS.
|
||||||
let messageCell = new Element('td');
|
var messageCell = new Element('td');
|
||||||
messageCell.set('text', log.Message);
|
messageCell.set('text', log.Message);
|
||||||
|
|
||||||
let fileCell = new Element('td');
|
var fileCell = new Element('td');
|
||||||
fileCell.set('text', log.File);
|
fileCell.set('text', log.File);
|
||||||
|
|
||||||
var row = logTable.push( [{content: log.DateTime, properties: {style: 'white-space: nowrap'}}, log.Component, log.Server, log.Pid, log.Code, messageCell, fileCell, log.Line] );
|
var row = logTable.push( [{content: log.DateTime, properties: {style: 'white-space: nowrap'}}, log.Component, log.Server, log.Pid, log.Code, messageCell, fileCell, log.Line] );
|
||||||
|
|
Loading…
Reference in New Issue