mirror of https://gitlab.crans.org/bde/nk20
Use var instead of let to declare a global var (turbolinks...)
This commit is contained in:
parent
5f87e76be8
commit
901af1a86a
|
@ -2,7 +2,7 @@
|
||||||
// SPDX-License-Identifier: GPL-3.0-or-later
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
|
||||||
// When a transaction is performed, lock the interface to prevent spam clicks.
|
// 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.
|
* Refresh the history table on the consumptions page.
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
let LOCK = true;
|
var LOCK = false;
|
||||||
|
|
||||||
sources = [];
|
sources = [];
|
||||||
sources_notes_display = [];
|
sources_notes_display = [];
|
||||||
|
|
Loading…
Reference in New Issue