diff --git a/web/skins/classic/views/js/frame.js b/web/skins/classic/views/js/frame.js index 1040d5a48..6786412f9 100644 --- a/web/skins/classic/views/js/frame.js +++ b/web/skins/classic/views/js/frame.js @@ -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('
');