remove unneeded packages, fix non-media file copy
This commit is contained in:
parent
f331684140
commit
aca85d09ac
7 changed files with 17 additions and 556 deletions
|
@ -86,3 +86,7 @@ div.nonmedia p {
|
|||
line-height: 100px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
label {
|
||||
text-align: center;
|
||||
}
|
||||
|
|
|
@ -9,6 +9,14 @@ function copyURI(evt) {
|
|||
});
|
||||
}
|
||||
|
||||
function copyPath(evt) {
|
||||
navigator.clipboard.writeText(absolutePath(evt)).then(() => {
|
||||
console.log("copied");
|
||||
}, () => {
|
||||
console.log("failed");
|
||||
});
|
||||
}
|
||||
|
||||
function absolutePath (href) {
|
||||
let link = document.createElement("a");
|
||||
link.href = href;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue