mirror of https://github.com/SuperBFG7/ympd
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();
|
||||
setTimeout(function(notification) {
|
||||
notification.cancel();
|
||||
}, 2000, notification);
|
||||
}, 3000, notification);
|
||||
} else {
|
||||
window.webkitNotifications.requestPermission();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue