This is an automated email from the ASF dual-hosted git repository.
humbedooh pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-ponymail-foal.git
The following commit(s) were added to refs/heads/master by this push:
new 191b572 declare variable before use
191b572 is described below
commit 191b572607f4fe64ad306b2a9375dfdcf3595619
Author: Daniel Gruno <[email protected]>
AuthorDate: Wed Nov 17 19:01:44 2021 +0100
declare variable before use
---
webui/js/source/listview-threaded.js | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/webui/js/source/listview-threaded.js
b/webui/js/source/listview-threaded.js
index fab9bcf..8346842 100644
--- a/webui/js/source/listview-threaded.js
+++ b/webui/js/source/listview-threaded.js
@@ -31,7 +31,7 @@ function listview_threaded(json, start) {
let s = start || 0;
if (json.thread_struct && json.thread_struct.length) {
- for (n = s; n < (s + per_page); n++) {
+ for (let n = s; n < (s + per_page); n++) {
let z = json.thread_struct.length - n - 1; // reverse order by
default
if (json.thread_struct[z]) {
let item = listview_threaded_element(json.thread_struct[z], z);
@@ -218,4 +218,4 @@ function listview_threaded_element(thread, idx) {
link_wrapper.inject(element);
return link_wrapper;
-}
\ No newline at end of file
+}