gifv support?
This commit is contained in:
parent
cfb29c8598
commit
f4acf57fde
5 changed files with 59 additions and 2 deletions
|
@ -9,6 +9,15 @@ function copyURI(evt) {
|
|||
});
|
||||
}
|
||||
|
||||
function copyA(evt) {
|
||||
evt.preventDefault();
|
||||
navigator.clipboard.writeText(absolutePath(evt.target.getAttribute('href'))).then(() => {
|
||||
console.log("copied");
|
||||
}, () => {
|
||||
console.log("failed");
|
||||
});
|
||||
}
|
||||
|
||||
function copyPath(evt) {
|
||||
navigator.clipboard.writeText(absolutePath(evt)).then(() => {
|
||||
console.log("copied");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue