From e15d0600ee64eada3414af13f7b7168e17ad0a79 Mon Sep 17 00:00:00 2001 From: Andrew Karpow Date: Fri, 17 Jan 2014 19:04:33 +0100 Subject: [PATCH] changed timeout for notification to 3 secs --- htdocs/js/mpd.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); } -- 2.20.1