From 9cb7d3e2c923f35e18f773fc2dfeeb6967a61ce7 Mon Sep 17 00:00:00 2001 From: Jack Date: Tue, 8 Sep 2020 23:08:45 +0100 Subject: [PATCH] limting the amount of elements queried --- public/js/userconfig.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/js/userconfig.js b/public/js/userconfig.js index 8740de949..906c0759e 100644 --- a/public/js/userconfig.js +++ b/public/js/userconfig.js @@ -950,7 +950,7 @@ function changeKeymapLayout(layout, nosave) { var _ = toReplace.splice(12, 1); var count = 0; - $(".letter") + $(".keymap .letter") .map(function () { if ( !this.parentElement.classList.contains("hidden-key") &&