Add "JS not working" error message
It is: * hidden by JS code executed as early as possible * not hidden by noscript tags, so that it is *not* shown when JavaScript is just no activated Fix https://github.com/PrivateBin/PrivateBin/issues/103
This commit is contained in:
@@ -20,6 +20,11 @@
|
||||
/** global: showdown */
|
||||
/** global: sjcl */
|
||||
|
||||
$(document).ready(function() {
|
||||
// hide "no javascript" message as early as possible
|
||||
$('#noscript').hide();
|
||||
})
|
||||
|
||||
// Immediately start random number generator collector.
|
||||
sjcl.random.startCollectors();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user