Fix code style issues with ESLint
This commit is contained in:
parent
2eab043f3c
commit
8dbb4e6e9b
|
@ -231,8 +231,8 @@ function addTag() {
|
||||||
}
|
}
|
||||||
|
|
||||||
function select_shift() {
|
function select_shift() {
|
||||||
const chkboxes = $('.deviceSelect');
|
const chkboxes = $(".deviceSelect");
|
||||||
var lastChecked = null;
|
let lastChecked = null;
|
||||||
chkboxes.click(function(e) {
|
chkboxes.click(function(e) {
|
||||||
if (!lastChecked) {
|
if (!lastChecked) {
|
||||||
lastChecked = this;
|
lastChecked = this;
|
||||||
|
|
Reference in a new issue