From 457bf0958a959a2f1f61a6fc30f5bd17eec103e1 Mon Sep 17 00:00:00 2001 From: Ruud Date: Sun, 26 Feb 2012 23:27:48 +0100 Subject: [PATCH] Initial view state --- couchpotato/core/plugins/movie/static/list.js | 2 +- couchpotato/core/plugins/movie/static/movie.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/couchpotato/core/plugins/movie/static/list.js b/couchpotato/core/plugins/movie/static/list.js index e197105..a5491b9 100644 --- a/couchpotato/core/plugins/movie/static/list.js +++ b/couchpotato/core/plugins/movie/static/list.js @@ -342,7 +342,7 @@ var MovieList = new Class({ getSavedView: function(){ var self = this; - return Cookie.read(self.options.identifier+'_view') || 'thumb'; + return Cookie.read(self.options.identifier+'_view') || 'thumbs'; }, search: function(){ diff --git a/couchpotato/core/plugins/movie/static/movie.js b/couchpotato/core/plugins/movie/static/movie.js index 55d51d4..d728f57 100644 --- a/couchpotato/core/plugins/movie/static/movie.js +++ b/couchpotato/core/plugins/movie/static/movie.js @@ -8,7 +8,7 @@ var Movie = new Class({ var self = this; self.data = data; - self.view = options.view || 'thumb'; + self.view = options.view || 'thumbs'; self.profile = Quality.getProfile(data.profile_id) || {}; self.parent(self, options); @@ -120,7 +120,7 @@ var Movie = new Class({ if(direction == 'in'){ self.temp_view = self.view; - self.changeView('thumb') + self.changeView('thumbs') self.el.addEvent('outerClick', function(){ self.changeView(self.temp_view)