Use var instead of let to declare a global var (turbolinks...)
This commit is contained in:
parent
5f87e76be8
commit
901af1a86a
2 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue