Mercurial Hosting > freedit
comparison src/test/upload.html @ 40:1ac7aee13eca
test cleanup
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Mon, 31 Oct 2022 14:06:58 -0600 |
parents | 1ce75c5ab0f7 |
children | acb730710328 |
comparison
equal
deleted
inserted
replaced
39:3354d4ac89f8 | 40:1ac7aee13eca |
---|---|
3 <head> | 3 <head> |
4 <meta name="viewport" content="width=device-width, initial-scale=1"> | 4 <meta name="viewport" content="width=device-width, initial-scale=1"> |
5 <style> | 5 <style> |
6 @import "/site.css"; | 6 @import "/site.css"; |
7 </style> | 7 </style> |
8 <script src="/site.js"></script> | 8 <script src="upload.js"></script> |
9 <script> | 9 <script> |
10 function uploaded(input,url,filename) { | 10 function uploaded(input,url,filename) { |
11 console.log(url); | 11 console.log(url); |
12 let a = document.querySelector('a'); | 12 let a = document.querySelector('a'); |
13 a.textContent = filename; | 13 a.textContent = filename; |