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

commit 786ebf0bdc43fe9ba8bb28913c3cfddd89786006
Author: Daniel Gruno <[email protected]>
AuthorDate: Sun Nov 21 18:31:33 2021 +0100

    unshadow letter
---
 webui/js/source/list-index.js | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/webui/js/source/list-index.js b/webui/js/source/list-index.js
index eeb877b..f38aa7e 100644
--- a/webui/js/source/list-index.js
+++ b/webui/js/source/list-index.js
@@ -35,11 +35,11 @@ function list_index(state, json) {
     } else {
         let letters = 'abcdefghijklmnopqrstuvwxyz#';
         for (let i = 0; i < letters.length; i++) {
-            letter = letters[i].toUpperCase(); // declared above
+            let xletter = letters[i].toUpperCase(); // declared above
             let li = new HTML('li', {
-                onclick: 'list_index({letter: "%s"});'.format(letter),
-                class: (letter == 'A') ? 'active' : null
-            }, letter);
+                onclick: 'list_index({letter: "%s"});'.format(xletter),
+                class: (xletter == 'A') ? 'active' : null
+            }, xletter);
             lists.inject(li);
         }
     }

Reply via email to