From 8918c7cc45dfe7ecf490495c3267ff19ed501261 Mon Sep 17 00:00:00 2001 From: Pierre Date: Fri, 26 May 2017 09:05:14 +0200 Subject: [PATCH] Fixed notification issue --- assets/js/common/notifications.js | 2 +- assets/js/pages/logout.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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");