forked from mirrors/misskey
fix(client): some fixes
This commit is contained in:
@@ -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