Set Toastr defaults

This commit is contained in:
Pablo Vazquez 2017-06-07 21:10:10 +02:00
parent 85f2c6093d
commit a9c506c290
2 changed files with 6 additions and 0 deletions

View File

@ -474,3 +474,4 @@
window.toastr = factory(window.jQuery); window.toastr = factory(window.jQuery);
} }
})); }));

View File

@ -327,3 +327,8 @@ function getNotificationsLoop() {
getNotificationsLoop(); getNotificationsLoop();
}, 30000); }, 30000);
} }
/* Notifications: Toastr Defaults */
toastr.options.showDuration = 50;
toastr.options.progressBar = true;
toastr.options.positionClass = 'toast-bottom-left';