Notification: remove useless notification system
This commit is contained in:
parent
7a597a802c
commit
9d16c0365a
4 changed files with 0 additions and 26 deletions
|
@ -1,23 +0,0 @@
|
|||
//App.messages = App.cable.subscriptions.create('NotificationsChannel', {
|
||||
// received: function (data) {
|
||||
// if (window.location.href.indexOf('backoffice') !== -1) {
|
||||
// $("#notification-alert").html(data['message']);
|
||||
//
|
||||
// slideIn_notification_alert();
|
||||
// }
|
||||
// }
|
||||
//});
|
||||
|
||||
function slideIn_notification_alert (){
|
||||
$("#notification-alert").animate({
|
||||
right: '20px'
|
||||
}, 250);
|
||||
|
||||
setTimeout(slideOut_notification_alert, 3500);
|
||||
}
|
||||
|
||||
function slideOut_notification_alert (){
|
||||
$("#notification-alert").animate({
|
||||
right: '-250px'
|
||||
}, 200);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue