2 Commits

Author SHA1 Message Date
Vick Scarlet
037db837b2 update specialthanks 2021-10-06 03:06:41 +08:00
Vick Scarlet
e91fab8a94 add space to next 2021-10-06 02:21:18 +08:00
4 changed files with 16 additions and 3 deletions

Binary file not shown.

View File

@@ -4048,5 +4048,18 @@
{
"group": 2,
"name": "流云江"
},
{
"group": 2,
"name": "乌鸦老舅"
},
{
"group": 1,
"name": "0605的前桌王同学",
"comment": "十年了,王新慧,别来无恙?"
},
{
"group": 2,
"name": "小王"
}
]

File diff suppressed because one or more lines are too long

View File

@@ -30,8 +30,8 @@ class App{
globalThis.onerror = (event, source, lineno, colno, error) => {
this.hint(`[ERROR] at (${source}:${lineno}:${colno})\n\n${error?.stack||error||'unknow Error'}`, 'error');
}
const keyDownCallback = (keyboardEvent) => {
if (keyboardEvent.which === 13 || keyboardEvent.keyCode === 13) {
const keyDownCallback = ({which: w, keyCode: k}) => {
if ( w === 13 || k === 13 || w === 32 || k === 32 ) {
const pressEnterFunc = this.#pages[this.#currentPage]?.pressEnter;
pressEnterFunc && typeof pressEnterFunc === 'function' && pressEnterFunc();
}