mirror of
https://github.com/wukko/cobalt.git
synced 2024-11-15 12:50:01 +00: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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
navigator.clipboard.readText().then(async (text) => {
|
navigator.clipboard.readText().then(async (text: string) => {
|
||||||
let matchLink = text.match(/https:\/\/[^\s]+/g);
|
let matchLink = text.match(/https:\/\/[^\s]+/g);
|
||||||
if (matchLink) {
|
if (matchLink) {
|
||||||
$link = matchLink[0];
|
$link = matchLink[0];
|
||||||
|
|
Loading…
Reference in a new issue