Explorar o código

Мелкая доработка

Book Pauk %!s(int64=5) %!d(string=hai) anos
pai
achega
dc2b2ec488
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      client/share/utils.js

+ 1 - 1
client/share/utils.js

@@ -207,7 +207,7 @@ export function escapeXml(str) {
 export function keyEventToCode(event) {
     let result = [];
     const modCode = event.code.substring(0, 3);
-    if (event.metaKey)
+    if (event.metaKey && modCode != 'Met')
         result.push('Meta');
     if (event.ctrlKey && modCode != 'Con')
         result.push('Ctrl');