Use a div that gets hidden, instead of a <noscript> tag, because the <noscript> tag doesn't when the security slider is on Safer

This commit is contained in:
Micah Lee 2019-02-13 17:40:33 -08:00
parent 5755cd625b
commit 1c16b092a3
No known key found for this signature in database
GPG key ID: 403C2657CD994F73
3 changed files with 19 additions and 9 deletions

View file

@ -1,3 +1,6 @@
// Hide the noscript div, because our javascript is executing
document.getElementById('noscript').style.display = 'none';
var form = document.getElementById('send');
var fileSelect = document.getElementById('file-select');
var uploadButton = document.getElementById('send-button');