1
0
Fork 0
mirror of https://github.com/Radarr/Radarr synced 2025-03-04 19:00:02 +00:00

RouteBinder will open external links in new tab

This commit is contained in:
Mark McDowall 2013-06-07 08:42:49 -07:00
parent 8274cb30cf
commit 0a32079922

View file

@ -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');
}
}
};