mirror of
https://github.com/darkwire/darkwire.io.git
synced 2025-07-25 13:26:26 +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() {
|
$('.modal-footer button.encryption-inactive').click(function() {
|
||||||
var n = noty({
|
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',
|
theme: 'relax',
|
||||||
type: 'error'
|
type: 'error',
|
||||||
|
timeout: 5000
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
$('.chat .warning-sign').click(function() {
|
$('.chat .warning-sign').click(function() {
|
||||||
var n = noty({
|
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',
|
theme: 'relax',
|
||||||
type: 'error'
|
type: 'error',
|
||||||
|
timeout: 5000
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user