mirror of
https://github.com/wukko/cobalt.git
synced 2025-05-02 23:24:27 +02: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…
x
Reference in New Issue
Block a user