Fix linting errors

This commit is contained in:
MrTimscampi 2020-07-17 10:33:31 +02:00
parent f16df9788a
commit 8f098dc26d
12 changed files with 42 additions and 41 deletions

View file

@ -8,7 +8,7 @@ import 'emby-input';
/* eslint-disable indent */
let EmbySliderPrototype = Object.create(HTMLInputElement.prototype);
const EmbySliderPrototype = Object.create(HTMLInputElement.prototype);
let supportsValueSetOverride = false;
@ -94,7 +94,7 @@ import 'emby-input';
// Keep only one per slider frame request
cancelAnimationFrame(range.updateValuesFrame);
range.updateValuesFrame = requestAnimationFrame(function () {
let backgroundLower = range.backgroundLower;
const backgroundLower = range.backgroundLower;
if (backgroundLower) {
let fraction = (value - range.min) / (range.max - range.min);