some code cleanup, fixed bug with regex in app.js
This commit is contained in:
parent
065f3c2014
commit
76c337836d
5 changed files with 16 additions and 23 deletions
|
@ -57,16 +57,7 @@ function onChange(event) {
|
|||
link.innerHTML = "http://localhost:3000/download/" + hex + "/#" + keydata.k;
|
||||
link.setAttribute("href", "http://localhost:3000/download/" + hex + "/#" + keydata.k);
|
||||
|
||||
// if (curr_name) {
|
||||
// localStorage.setItem(file.name, curr_name + "," + hex);
|
||||
// } else {
|
||||
// localStorage.setItem(file.name, hex)
|
||||
// }
|
||||
|
||||
|
||||
|
||||
console.log("Share this link with a friend: http://localhost:3000/download/" + hex + "/#" + keydata.k);
|
||||
alert("Share this link with a friend: http://localhost:3000/download/" + hex + "/#" + keydata.k);
|
||||
})
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue