mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Update src/scripts/inputManager.js
Use const instead of let Co-Authored-By: Dmitry Lyzo <56478732+dmitrylyzo@users.noreply.github.com>
This commit is contained in:
parent
41d8ce54ae
commit
0a0c639bad
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ import appHost from 'apphost';
|
||||||
|
|
||||||
function checkCommandTime(command) {
|
function checkCommandTime(command) {
|
||||||
|
|
||||||
let last = commandTimes[command] || 0;
|
const last = commandTimes[command] || 0;
|
||||||
const now = new Date().getTime();
|
const now = new Date().getTime();
|
||||||
|
|
||||||
if ((now - last) < 1000) {
|
if ((now - last) < 1000) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue