From 67bc3903d4d648a0f83f450787c7852f4774ebde Mon Sep 17 00:00:00 2001 From: Ruud Date: Wed, 14 Aug 2013 12:20:38 +0200 Subject: [PATCH] Don't show loader for scanner if page isn't loaded yet --- couchpotato/static/scripts/page/manage.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/couchpotato/static/scripts/page/manage.js b/couchpotato/static/scripts/page/manage.js index faef34af..36b1ef83 100644 --- a/couchpotato/static/scripts/page/manage.js +++ b/couchpotato/static/scripts/page/manage.js @@ -102,6 +102,11 @@ Page.Manage = new Class({ } } else { + + // Don't add loader when page is loading still + if(!self.list.navigation) + return; + if(!self.progress_container) self.progress_container = new Element('div.progress').inject(self.list.navigation, 'after')