mirror of
https://github.com/darkwire/darkwire.io.git
synced 2025-07-24 05:00:17 +00:00
Highlight input when encryption is off
This commit is contained in:
parent
85af185f97
commit
62d316a5d9
@ -392,11 +392,13 @@ $(function() {
|
||||
$('.modal-footer button.encryption-inactive').show();
|
||||
$('.modal-footer button.encryption-active').hide();
|
||||
$('.chat .warning-sign').show();
|
||||
$('.inputMessage').addClass('encryption-disabled');
|
||||
} else {
|
||||
encryptionEnabled = true;
|
||||
$('.modal-footer button.encryption-active').show();
|
||||
$('.modal-footer button.encryption-inactive').hide();
|
||||
$('.chat .warning-sign').hide();
|
||||
$('.inputMessage').removeClass('encryption-disabled');
|
||||
}
|
||||
});
|
||||
|
||||
|
@ -183,4 +183,8 @@ input {
|
||||
cursor: pointer;
|
||||
color: red;
|
||||
font-size: 24px;
|
||||
}
|
||||
|
||||
.inputMessage.encryption-disabled {
|
||||
background-color: rgba(254, 6, 6, 0.15);
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user