change let to var

This commit is contained in:
Isaac Connor 2019-02-11 09:55:45 -05:00
parent c9032d3cb4
commit e79d7ec736
1 changed files with 2 additions and 2 deletions

View File

@ -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] );