mirror of
https://github.com/chylex/TweetDuck.git
synced 2025-05-02 11:34:08 +02:00
Fix possible error when focusing DM input field
This commit is contained in:
parent
a2129b957e
commit
8e5934bd84
@ -4,7 +4,7 @@ import { TD } from "../api/td.js";
|
|||||||
import { ensurePropertyExists } from "../api/utils.js";
|
import { ensurePropertyExists } from "../api/utils.js";
|
||||||
|
|
||||||
function focusDmInput() {
|
function focusDmInput() {
|
||||||
document.querySelector(".js-reply-tweetbox").focus();
|
document.querySelector(".js-reply-tweetbox")?.focus();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user