comparison src/test/upload.html @ 35:1ce75c5ab0f7

minor
author Franklin Schmidt <fschmidt@gmail.com>
date Wed, 03 Aug 2022 14:13:12 -0600
parents c8d47981c74f
children 1ac7aee13eca
comparison
equal deleted inserted replaced
34:c8d47981c74f 35:1ce75c5ab0f7
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="/site.js"></script>
9 <script> 9 <script>
10 function uploaded(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;
14 a.setAttribute('href',url); 14 a.setAttribute('href',url);
15 } 15 }