mirror of
https://github.com/SuperBFG7/ympd
synced 2024-11-26 14:57:17 +00:00
changed timeout for notification to 3 secs
This commit is contained in:
parent
9212e3af29
commit
e15d0600ee
@ -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();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user