1
0
Fork 0
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:
Julien Machiels 2020-04-10 23:35:09 +02:00 committed by GitHub
parent 41d8ce54ae
commit 0a0c639bad
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -42,7 +42,7 @@ import appHost from 'apphost';
function checkCommandTime(command) {
let last = commandTimes[command] || 0;
const last = commandTimes[command] || 0;
const now = new Date().getTime();
if ((now - last) < 1000) {