fix(client): some fixes
This commit is contained in:
@ -168,6 +168,7 @@ export default defineComponent({
|
||||
onInput,
|
||||
onKeydown,
|
||||
updated,
|
||||
i18n,
|
||||
};
|
||||
},
|
||||
});
|
||||
|
@ -170,6 +170,7 @@ function onHeaderMousedown(evt: MouseEvent) {
|
||||
beforeClickedAt = Date.now();
|
||||
|
||||
const main = rootEl;
|
||||
if (main == null) return;
|
||||
|
||||
if (!contains(main, document.activeElement)) main.focus();
|
||||
|
||||
|
Reference in New Issue
Block a user