mirror of
https://github.com/onionshare/onionshare.git
synced 2025-05-02 06:26:10 -04:00
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:
parent
5755cd625b
commit
1c16b092a3
3 changed files with 19 additions and 9 deletions
|
@ -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');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue