Up-in-the-Air – commitdiff

You can use Git to clone the repository via the web URL. Download snapshot (zip)
Keyboard rebinding: do not uppercase ß
authorJulian Fietkau <git@fietkau.software>
Thu, 26 Sep 2024 03:25:30 +0000 (05:25 +0200)
committerJulian Fietkau <git@fietkau.software>
Thu, 26 Sep 2024 03:25:30 +0000 (05:25 +0200)
main.js

diff --git a/main.js b/main.js
index 0ebb237f507681ec158adbac9bf273b6267fb09c..c2e929d8b6809857ece1821f00ac3b7ea557378c 100644 (file)
--- a/main.js
+++ b/main.js
@@ -833,7 +833,7 @@ function loadSettings(game) {
     let btn = ui.querySelector('.keyboard button.' + direction);
     btn.value = keys.join('|');
     keys = keys.map(k => {
-      if(k.length == 1) {
+      if(k.length == 1 && k != 'ß') {
         k = k.toUpperCase();
       }
       switch(k) {