Skip to content

Commit

Permalink
Update externalurlSeveralButtons.js
Browse files Browse the repository at this point in the history
  • Loading branch information
dahlalex committed Nov 18, 2024
1 parent 7934000 commit 4bde79f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/controls/externalurl/externalurlSeveralButtons.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ const externalurlSeveralButtons = function externalurlSeveralButtons(options = {
const buttons = [];
const subButtons = [];
const direction = options.direction;
const linkTarget = options.target || '_blank';
let containerElementcls;
let subButtoncls;
let subButtontooltipPlacement;
Expand Down Expand Up @@ -100,7 +101,7 @@ const externalurlSeveralButtons = function externalurlSeveralButtons(options = {
} else if (link.method === 'none') {
replacedUrl = link.url;
}
window.open(replacedUrl, '_blank');
window.open(replacedUrl, linkTarget);
}
});
buttons.push(subButton);
Expand Down

0 comments on commit 4bde79f

Please sign in to comment.