From 0a320799221477af9c7a67348fea6dc823ebe7ff Mon Sep 17 00:00:00 2001 From: Mark McDowall Date: Fri, 7 Jun 2013 08:42:49 -0700 Subject: [PATCH] RouteBinder will open external links in new tab --- UI/RouteBinder.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/UI/RouteBinder.js b/UI/RouteBinder.js index 5468b0d42..bbd7d4874 100644 --- a/UI/RouteBinder.js +++ b/UI/RouteBinder.js @@ -46,6 +46,11 @@ define(['app'], function () { if (!href.startsWith('http')) { NzbDrone.Router.navigate(href, { trigger: true }); } + + else { + //Open in new tab + window.open(href, '_blank'); + } } };