From 8dbb4e6e9b66c51eee6a365c854a4cd2f8e72986 Mon Sep 17 00:00:00 2001 From: Lint Action Date: Wed, 8 Jun 2022 08:56:46 +0000 Subject: [PATCH] Fix code style issues with ESLint --- ereuse_devicehub/static/js/main_inventory.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ereuse_devicehub/static/js/main_inventory.js b/ereuse_devicehub/static/js/main_inventory.js index a7ca9b7b..fd693d44 100644 --- a/ereuse_devicehub/static/js/main_inventory.js +++ b/ereuse_devicehub/static/js/main_inventory.js @@ -231,8 +231,8 @@ function addTag() { } function select_shift() { - const chkboxes = $('.deviceSelect'); - var lastChecked = null; + const chkboxes = $(".deviceSelect"); + let lastChecked = null; chkboxes.click(function(e) { if (!lastChecked) { lastChecked = this;