From 1a0789f7b99242432385e2ae73711053f069da6a Mon Sep 17 00:00:00 2001 From: Bill Thornton Date: Wed, 25 Nov 2020 00:40:53 -0500 Subject: [PATCH] Fix lint errors --- src/components/filtermenu/filtermenu.js | 1 - src/components/guide/guide.js | 4 +--- 2 files changed, 1 insertion(+), 4 deletions(-) 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) {