1
0
Fork 0
mirror of https://github.com/Yetangitu/ampache synced 2025-10-03 17:59:21 +02:00

Show notifications when webplayer is started

This commit is contained in:
Afterster 2015-02-05 21:15:15 +01:00
parent b845d86e3e
commit cbf908b21e

View file

@ -95,6 +95,11 @@ function displayNotification(message, timeout) {
}
if (message) {
if ($('#webplayer').css('display') !== 'block') {
$('#notification').css('bottom', '20px');
} else {
$('#notification').css('bottom', '120px');
}
$('#notification-content').html(message);
$('#notification').removeClass('notification-out');
notificationTimeout = setTimeout(function() {