diff --git a/assets/js/common/notifications.js b/assets/js/common/notifications.js index c4906bb9..a6b9d406 100644 --- a/assets/js/common/notifications.js +++ b/assets/js/common/notifications.js @@ -39,7 +39,7 @@ ComunicWeb.common.notificationSystem = { $.notify(options,{ // settings type: notifType, - timer: notifDuration*1000, + delay: notifDuration*1000, }); } diff --git a/assets/js/pages/logout.js b/assets/js/pages/logout.js index 7b293b74..5a0ead72 100644 --- a/assets/js/pages/logout.js +++ b/assets/js/pages/logout.js @@ -21,7 +21,7 @@ ComunicWeb.pages.logout = { ComunicWeb.user.userLogin.logoutUser(); //Show a success notification - ComunicWeb.common.notificationSystem.showNotification("Good bye, you successfully terminated your session !", "sucess", 5); + ComunicWeb.common.notificationSystem.showNotification("Good bye, you successfully terminated your session !", "success", 3); //Open login page ComunicWeb.common.page.openPage("home");