From 8b1c80c4fb2c00dfd75478a45c3c6470347bd402 Mon Sep 17 00:00:00 2001 From: matjaz321 Date: Fri, 31 Jul 2020 18:44:37 +0200 Subject: [PATCH] more fixes --- src/controllers/livetvstatus.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/controllers/livetvstatus.js b/src/controllers/livetvstatus.js index 2b7a1ee730..f37760808a 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'