From: Andrew Karpow Date: Fri, 17 Jan 2014 18:04:33 +0000 (+0100) Subject: changed timeout for notification to 3 secs X-Git-Url: http://gitweb.hugovil.com/?a=commitdiff_plain;h=e15d0600ee64eada3414af13f7b7168e17ad0a79;p=ympd.git changed timeout for notification to 3 secs --- diff --git a/htdocs/js/mpd.js b/htdocs/js/mpd.js index 4a701eb..15e86c6 100644 --- a/htdocs/js/mpd.js +++ b/htdocs/js/mpd.js @@ -440,7 +440,7 @@ function songNotify(artist, title) { notification.show(); setTimeout(function(notification) { notification.cancel(); - }, 2000, notification); + }, 3000, notification); } else { window.webkitNotifications.requestPermission(); }