mirror of
https://github.com/netfun2000/pheditor.git
synced 2026-02-27 09:45:14 +08:00
Add new shortcut Ctrl+C for closing current file
This commit is contained in:
+1
-1
@@ -494,7 +494,7 @@ document.onkeydown = function(event) {
|
||||
event.preventDefault();
|
||||
|
||||
id("save").click();
|
||||
} else if (event.keyCode == 87) {
|
||||
} else if (event.keyCode == 67 || event.keyCode == 87) {
|
||||
event.preventDefault();
|
||||
|
||||
id("close").click();
|
||||
|
||||
Reference in New Issue
Block a user