2
0
Эх сурвалжийг харах

복사 때는 작동 안하도록

잉여개발기 6 сар өмнө
parent
commit
fa932a8f99

+ 4 - 0
views/main_css/js/func/shortcut.js

@@ -22,6 +22,10 @@ window.addEventListener("keydown", e => {
         return;
         return;
     }
     }
 
 
+    if(e.ctrlKey || e.metaKey || e.altKey) {
+        return;
+    }
+
     shortcut_key_list[e.code] = 1;
     shortcut_key_list[e.code] = 1;
     if(Object.keys(shortcut_key_list).length === 1) {
     if(Object.keys(shortcut_key_list).length === 1) {
         let doc_shortcut = /^\/(w|w_from|history|edit|acl|topic|xref)\//i;
         let doc_shortcut = /^\/(w|w_from|history|edit|acl|topic|xref)\//i;