Skip to content

Commit

Permalink
36955: Different appearance of xln and https:// links
Browse files Browse the repository at this point in the history
  • Loading branch information
alex40724 committed Nov 16, 2024
1 parent 8154d67 commit 3173f6b
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions Services/Link/js/ilExtLink.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,9 @@ il.ExtLink = {
}
});
if (typeof link_class !== "undefined") {
$(selector + " a.linkified").addClass(link_class);
$(selector).find('a.linkified').addClass(link_class);
}

if (typeof selector === "string") {
$(selector + " a.linkified[target='_blank']").attr("rel", "noreferrer noopener");
} else {
$(selector).find("a.linkified[target='_blank']").attr("rel", "noreferrer noopener");
}
$(selector).find("a.linkified[target='_blank']").attr("rel", "noreferrer noopener");
}
}

0 comments on commit 3173f6b

Please sign in to comment.