Skip to content

Commit

Permalink
Revert "MWPW-144920 (fix): Fixes link target=_blank on anchor links (#…
Browse files Browse the repository at this point in the history
…141)"

This reverts commit 0041be9.
  • Loading branch information
cmiqueo authored Mar 20, 2024
1 parent 0041be9 commit 2d7578e
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion dist/app.css

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/main.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Chimera UI Libraries - Build 0.11.20 (3/20/2024, 11:03:52)
* Chimera UI Libraries - Build 0.11.20 (3/19/2024, 10:54:04)
*
*/
/******/ (function(modules) { // webpackBootstrap
Expand Down Expand Up @@ -871,7 +871,7 @@ var getLinkTarget = exports.getLinkTarget = function getLinkTarget(link) {
var ctaAction = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';
var domain = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : window.location.hostname;

if (ctaAction || link.startsWith('#')) {
if (ctaAction) {
return ctaAction;
}
var target = '_blank';
Expand Down
Loading

0 comments on commit 2d7578e

Please sign in to comment.