mirror of https://github.com/sualko/cloud_bbb
fix: hide success message after 3 sec
parent
dd7bd97cb3
commit
d7a0bfce09
|
@ -52,6 +52,10 @@ $(() => {
|
|||
saveSettings(this['api.url'].value, this['api.secret'].value).then(() => {
|
||||
const successElement = generateSuccessElement(t('bbb', 'Settings saved'));
|
||||
|
||||
setTimeout(() => {
|
||||
$('#bbb-result').empty();
|
||||
}, 3000);
|
||||
|
||||
$('#bbb-result').append(successElement);
|
||||
}).catch(err => {
|
||||
let message = t('bbb', 'Unexpected error occurred');
|
||||
|
|
Loading…
Reference in New Issue