mirror of
https://github.com/darkwire/darkwire.io.git
synced 2025-07-24 05:00:17 +00:00
Auto-hide notifications
This commit is contained in:
parent
fc60050ee1
commit
85af185f97
@ -402,17 +402,19 @@ $(function() {
|
||||
|
||||
$('.modal-footer button.encryption-inactive').click(function() {
|
||||
var n = noty({
|
||||
text: 'Encryption is OFF. Anyone with this URL can read your messages. Turn encryption on in Settings.',
|
||||
text: 'Encryption is OFF. Anyone with this URL can read your messages. Turn on encryption in Settings.',
|
||||
theme: 'relax',
|
||||
type: 'error'
|
||||
type: 'error',
|
||||
timeout: 5000
|
||||
});
|
||||
});
|
||||
|
||||
$('.chat .warning-sign').click(function() {
|
||||
var n = noty({
|
||||
text: 'Encryption is OFF. Anyone with this URL can read your messages. Turn encryption on in Settings.',
|
||||
text: 'Encryption is OFF. Anyone with this URL can read your messages. Turn on encryption in Settings.',
|
||||
theme: 'relax',
|
||||
type: 'error'
|
||||
type: 'error',
|
||||
timeout: 5000
|
||||
});
|
||||
});
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user