changed timeout for notification to 3 secs
authorAndrew Karpow <andy@ndyk.de>
Fri, 17 Jan 2014 18:04:33 +0000 (19:04 +0100)
committerAndrew Karpow <andy@ndyk.de>
Fri, 17 Jan 2014 18:04:33 +0000 (19:04 +0100)
htdocs/js/mpd.js

index 4a701eb..15e86c6 100644 (file)
@@ -440,7 +440,7 @@ function songNotify(artist, title) {
           notification.show();
           setTimeout(function(notification) {
                  notification.cancel();
-          }, 2000, notification);
+          }, 3000, notification);
     } else {
           window.webkitNotifications.requestPermission();
     }