diff --git a/src/controllers/livetvstatus.js b/src/controllers/livetvstatus.js index 2b7a1ee73..f37760808 100644 --- a/src/controllers/livetvstatus.js +++ b/src/controllers/livetvstatus.js @@ -131,7 +131,7 @@ function renderProviders(page, providers) { const elem = $('.providerList', page).html(html); $('.btnOptions', elem).on('click', function () { - var id = this.getAttribute('data-id'); + const id = this.getAttribute('data-id'); showProviderOptions(page, id, this); }); } @@ -255,7 +255,7 @@ function addDevice(button) { } function showDeviceMenu(button, tunerDeviceId) { - var items = []; + const items = []; items.push({ name: globalize.translate('ButtonDelete'), id: 'delete'