From e79d7ec7363a7db9266f28168f0deca09d35e8f9 Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Mon, 11 Feb 2019 09:55:45 -0500 Subject: [PATCH] change let to var --- web/skins/classic/views/js/log.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/skins/classic/views/js/log.js b/web/skins/classic/views/js/log.js index 293d425b5..218631157 100644 --- a/web/skins/classic/views/js/log.js +++ b/web/skins/classic/views/js/log.js @@ -67,10 +67,10 @@ function logResponse( respObj ) { // Manually create table cells by setting the text since `push` will set HTML which // can lead to XSS. - let messageCell = new Element('td'); + var messageCell = new Element('td'); messageCell.set('text', log.Message); - let fileCell = new Element('td'); + var fileCell = new Element('td'); 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] );