diff --git a/docs/index.html b/docs/index.html index 18f6f6b..a006742 100644 --- a/docs/index.html +++ b/docs/index.html @@ -14,7 +14,7 @@
- +
diff --git a/docs/js/app.js b/docs/js/app.js index 7ab121c..9af49a2 100644 --- a/docs/js/app.js +++ b/docs/js/app.js @@ -2,7 +2,7 @@ function layoutReplace() { 'use strict'; - keys = { + let keys = { "q":"й", "w":"ц", "e":"у", "r":"к", "t":"е", "y":"н", "u":"г", "i":"ш", "o":"щ", "p":"з", "[":"х", "]":"ъ", "a":"ф", "s":"ы", "d":"в", "f":"а", "g":"п", "h":"р", "j":"о", "k":"л", "l":"д", @@ -14,9 +14,6 @@ function layoutReplace() let outputText = document.getElementById("two"); let text = null; - console.log(inputText); - - text = inputText.replace(/[A-z/,.;\'\]\[]/g, function(x) { return x == x.toLowerCase() ? keys[ x ] : keys[ x.toLowerCase() ].toUpperCase(); });