From 012ae9769a31f1d46b2648a794f557ad24e5cc4d Mon Sep 17 00:00:00 2001 From: Ruud Date: Mon, 3 Sep 2012 23:23:18 +0200 Subject: [PATCH] Open IMDB url in new window. fix #797 --- couchpotato/core/plugins/movie/static/movie.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/couchpotato/core/plugins/movie/static/movie.js b/couchpotato/core/plugins/movie/static/movie.js index 17234b9..abaea65 100644 --- a/couchpotato/core/plugins/movie/static/movie.js +++ b/couchpotato/core/plugins/movie/static/movie.js @@ -329,7 +329,8 @@ var IMDBAction = new Class({ self.el = new Element('a.imdb', { 'title': 'Go to the IMDB page of ' + self.movie.getTitle(), - 'href': 'http://www.imdb.com/title/'+self.id+'/' + 'href': 'http://www.imdb.com/title/'+self.id+'/', + 'target': '_blank' }); if(!self.id) self.disable();