mirror of
https://github.com/XIU2/UserScript.git
synced 2026-09-22 15:06:57 +00:00
优化 代码
This commit is contained in:
@@ -397,7 +397,7 @@
|
||||
// 输入密码后回车确认
|
||||
function enterToPass() {
|
||||
document.getElementById('pwd').onkeydown = function(e){
|
||||
if(e.keyCode == 13){
|
||||
if(e.key === 'Enter'){
|
||||
document.getElementById('sub').click();
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user