Use var instead of let to declare a global var (turbolinks...)

This commit is contained in:
Yohann D'ANELLO 2020-08-09 14:01:59 +02:00
parent 5f87e76be8
commit 901af1a86a
2 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@
// SPDX-License-Identifier: GPL-3.0-or-later
// When a transaction is performed, lock the interface to prevent spam clicks.
let LOCK = false;
var LOCK = false;
/**
* Refresh the history table on the consumptions page.

View File

@ -1,4 +1,4 @@
let LOCK = true;
var LOCK = false;
sources = [];
sources_notes_display = [];