diff --git a/WebIDE/enhance.user.js b/WebIDE/enhance.user.js index f7922ce..d4a902e 100644 --- a/WebIDE/enhance.user.js +++ b/WebIDE/enhance.user.js @@ -64,7 +64,7 @@ } document.onkeydown = function() { var e = window.event; - if (!e.altKey) { return; } + if (!e.altKey || e.ctrlKey || e.shiftKey) { return; } switch (e.keyCode) { case 87: // Alt + W 关闭Tab标签页