mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-28 04:51:45 +02:00
RouteBinder will open external links in new tab
This commit is contained in:
@@ -46,6 +46,11 @@ define(['app'], function () {
|
|||||||
if (!href.startsWith('http')) {
|
if (!href.startsWith('http')) {
|
||||||
NzbDrone.Router.navigate(href, { trigger: true });
|
NzbDrone.Router.navigate(href, { trigger: true });
|
||||||
}
|
}
|
||||||
|
|
||||||
|
else {
|
||||||
|
//Open in new tab
|
||||||
|
window.open(href, '_blank');
|
||||||
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user