1
0
mirror of https://github.com/SuperBFG7/ympd synced 2024-11-30 00:19:54 +00:00

changed timeout for notification to 3 secs

This commit is contained in:
Andrew Karpow 2014-01-17 19:04:33 +01:00
parent 9212e3af29
commit e15d0600ee

View File

@ -440,7 +440,7 @@ function songNotify(artist, title) {
notification.show(); notification.show();
setTimeout(function(notification) { setTimeout(function(notification) {
notification.cancel(); notification.cancel();
}, 2000, notification); }, 3000, notification);
} else { } else {
window.webkitNotifications.requestPermission(); window.webkitNotifications.requestPermission();
} }