use let/const

This commit is contained in:
Isaac Connor 2022-01-07 16:22:24 -05:00
parent 8f372e6a6c
commit deaff43f66
1 changed files with 3 additions and 3 deletions

View File

@ -40,8 +40,8 @@ function changeScale() {
}
function getFrameStatsCookie() {
var cookie = 'zmFrameStats';
var stats = getCookie(cookie);
const cookie = 'zmFrameStats';
let stats = getCookie(cookie);
if (!stats) {
stats = 'on';
@ -53,7 +53,7 @@ function getFrameStatsCookie() {
function getStat(params) {
$j.getJSON(thisUrl + '?view=request&request=stats&raw=true', params)
.done(function(data) {
var stats = data.raw;
const stats = data.raw;
$j('#frameStatsTable').empty().append('<tbody>');