remove unneeded packages, fix non-media file copy

This commit is contained in:
anarch3 2022-11-17 05:29:16 -05:00
parent f331684140
commit aca85d09ac
7 changed files with 17 additions and 556 deletions

View file

@ -86,3 +86,7 @@ div.nonmedia p {
line-height: 100px;
text-align: center;
}
label {
text-align: center;
}

View file

@ -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;