honor _blank

This commit is contained in:
j 2020-10-15 11:46:16 +02:00
parent ac8c01ee98
commit f157ebf2c4
1 changed files with 5 additions and 1 deletions

View File

@ -375,7 +375,11 @@ pandora.clickLink = function(e, selectEmbed) {
if (match) {
(selectEmbed || pandora.$ui.textPanel.selectEmbed)(parseInt(match[1]));
} else {
pandora.openURL(e.target.href);
if (e.target.target == '_blank') {
pandora.openLink(e.target.href);
} else {
pandora.openURL(e.target.href);
}
}
};