1
0
Fork 0

fix: 修复未检测Alt的问题

master
502647092 2018-05-15 21:37:56 +08:00
parent eeee574233
commit a6b868be71
1 changed files with 2 additions and 1 deletions

View File

@ -1,7 +1,7 @@
// ==UserScript==
// @name WebIDE增强脚本
// @namespace http://ide.yumc.pw/
// @version 0.7
// @version 0.8
// @description Coding WebIDE 增强脚本
// @author MiaoWoo
// @match http*://ide.yumc.pw/ws/*
@ -64,6 +64,7 @@
}
document.onkeydown = function() {
var e = window.event;
if (!e.altKey) { return; }
switch (e.keyCode) {
case 87:
// Alt + W 关闭Tab标签页