made notice configurable, fixing a few CSS glitches

This commit is contained in:
El RIDO 2019-06-17 21:40:37 +02:00
parent a67c9ab129
commit 42c2003220
No known key found for this signature in database
GPG key ID: 0F5C940A6BD81F92
9 changed files with 34 additions and 13 deletions

View file

@ -1651,7 +1651,6 @@ jQuery.PrivateBin = (function($, RawDeflate) {
*/
me.hideMessages = function()
{
// also possible: $('.statusmessage').addClass('hidden');
$statusMessage.addClass('hidden');
$errorMessage.addClass('hidden');
};
@ -4672,7 +4671,7 @@ jQuery.PrivateBin = (function($, RawDeflate) {
}
if (isInsecureConnection()) {
Alert.showError('This website is using an insecure HTTP connection! Please use it only for testing.');
$('#httpnotice').toggle(true);
}
return true;