From 9e8d6aaaa1ab35eeee7085efb78bc2cfc5f5144a Mon Sep 17 00:00:00 2001 From: Ruud Date: Sun, 5 May 2013 20:14:54 +0200 Subject: [PATCH] Delay notification start more on mobile --- couchpotato/core/notifications/core/static/notification.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/couchpotato/core/notifications/core/static/notification.js b/couchpotato/core/notifications/core/static/notification.js index 243d561d..3a9a9b99 100644 --- a/couchpotato/core/notifications/core/static/notification.js +++ b/couchpotato/core/notifications/core/static/notification.js @@ -31,7 +31,7 @@ var NotificationBase = new Class({ }); window.addEvent('load', function(){ - self.startInterval.delay(2000, self) + self.startInterval.delay($(window).getSize().x <= 480 ? 2000 : 300, self) }); },