web/Omnibox: add missing clipboard input type

This commit is contained in:
wukko 2024-09-05 09:06:03 +06:00
parent 80e32fc0c0
commit 4da1defcf8
No known key found for this signature in database
GPG key ID: 3E30B3F26C7B4AA2

View file

@ -70,7 +70,7 @@
return;
}
navigator.clipboard.readText().then(async (text) => {
navigator.clipboard.readText().then(async (text: string) => {
let matchLink = text.match(/https:\/\/[^\s]+/g);
if (matchLink) {
$link = matchLink[0];