mirror of
https://github.com/imputnet/cobalt.git
synced 2025-06-28 17:38:31 +00:00
web/Omnibox: add missing clipboard input type
This commit is contained in:
parent
80e32fc0c0
commit
4da1defcf8
@ -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];
|
||||
|
Loading…
Reference in New Issue
Block a user