Fix linting errors
This commit is contained in:
parent
f16df9788a
commit
8f098dc26d
12 changed files with 42 additions and 41 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue