Auto-hide notifications

This commit is contained in:
Alan Friedman 2016-01-11 13:06:09 -05:00
parent fc60050ee1
commit 85af185f97

View File

@ -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
});
});