Compare commits

..

No commits in common. "a033ab15db919e30fb62314e2309e12b321473a4" and "05b765c6f01a5de13f04bda07caa87f20c3564f2" have entirely different histories.

2 changed files with 2 additions and 12 deletions

View file

@ -1,6 +1,6 @@
{ {
"name": "jeff-downloader2", "name": "jeff-downloader2",
"version": "0.3.3", "version": "0.3.2",
"private": true, "private": true,
"scripts": { "scripts": {
"start": "node ./bin/www" "start": "node ./bin/www"

View file

@ -143,7 +143,7 @@ Come take a look here https://git.namejeff.xyz/Supositware/jeff-downloader for a
<div class="control"> <div class="control">
<div class="tags has-addons"> <div class="tags has-addons">
<span class="tag">Download date</span> <span class="tag">Download date</span>
<span class="tag is-primary"><%= file.date.toLocaleString() %></span> <span class="tag is-primary"><%= file.date %></span>
</div> </div>
</div> </div>
</div> </div>
@ -274,16 +274,6 @@ Come take a look here https://git.namejeff.xyz/Supositware/jeff-downloader for a
}); });
} }
function toClipboard(text) {
if (navigator.clipboard)
navigator.clipboard.writeText(text)
.catch(err => {
console.error(err);
});
else
console.error('Could not access the clipboard.');
}
function uuidv4() { function uuidv4() {
return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function(c) { return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function(c) {
var r = Math.random() * 16 | 0, v = c == 'x' ? r : (r & 0x3 | 0x8); var r = Math.random() * 16 | 0, v = c == 'x' ? r : (r & 0x3 | 0x8);