diff --git a/src/components/filtermenu/filtermenu.js b/src/components/filtermenu/filtermenu.js index 3df956f0af..37d7860c02 100644 --- a/src/components/filtermenu/filtermenu.js +++ b/src/components/filtermenu/filtermenu.js @@ -16,7 +16,6 @@ import '../../assets/css/flexstyles.scss'; import ServerConnections from '../ServerConnections'; import template from './filtermenu.template.html'; - function onSubmit(e) { e.preventDefault(); return false; diff --git a/src/components/guide/guide.js b/src/components/guide/guide.js index 9bb13e4f26..d7d56d960b 100644 --- a/src/components/guide/guide.js +++ b/src/components/guide/guide.js @@ -27,7 +27,6 @@ import 'webcomponents.js/webcomponents-lite'; import ServerConnections from '../ServerConnections'; import template from './tvguide.template.html'; - function showViewSettings(instance) { import('./guide-settings').then(({default: guideSettingsDialog}) => { guideSettingsDialog.show(instance.categoryOptions).then(function () { @@ -144,7 +143,6 @@ function Guide(options) { let autoRefreshInterval; let programCells; let lastFocusDirection; - let programGrid; self.refresh = function () { currentDate = null; @@ -1100,7 +1098,7 @@ function Guide(options) { context.innerHTML = globalize.translateHtml(template, 'core'); - programGrid = context.querySelector('.programGrid'); + const programGrid = context.querySelector('.programGrid'); const timeslotHeaders = context.querySelector('.timeslotHeaders'); if (layoutManager.tv) {