mirror of
https://github.com/wukko/cobalt.git
synced 2025-02-24 03:58:49 +01:00
web/Omnibox: add missing clipboard input type
This commit is contained in:
parent
80e32fc0c0
commit
4da1defcf8
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue