5abda7d0 by Jeremy Groot

fix to externs

1 parent 0e6b4a18
......@@ -8539,6 +8539,7 @@ br {
.item a {
display: flex !important;
color: #000000;
}
a.xls, .item a.xls {
......
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
......@@ -28,7 +28,8 @@ function checkOffsetForTopper() {
function getIsExternLink($link) {
$link = $link.trim();
if($link.indexOf('brokers') === -1 &&
$link.indexOf('localhost') === -1 && $link.indexOf('mailto:') === -1 && $link.indexOf('tel:') === -1 && $link.indexOf('#') !== 0) {
$link.indexOf('localhost') === -1 && $link.indexOf('mailto:') === -1 && $link.indexOf('tel:') === -1
&& $link.indexOf('#') !== 0) {
if($link !== "/" && $link !== "#" && $link.indexOf('/') !== 0) {
return true;
}
......
......@@ -93,10 +93,12 @@ html{
.item a {
display: flex !important;
color:#000000;
}
a, .item a {
&.xls {
border-top:1px solid #949598;
border-bottom:1px solid #949598;
......
......@@ -156,7 +156,7 @@ function circulars($circular){
<tr class="table-like__item">
<td class="item">
<a target="_blank" role="button" class="item-link" href="http://localhost:3000/wp-content/plugins/tenzing-campaign-monitor/campaignRetriever.php?campaignURL=<?= $url ?>"><?= $name ?></a>
<a target="_blank" role="button" class="item-link extern" href="/wp-content/plugins/tenzing-campaign-monitor/campaignRetriever.php?campaignURL=<?= $url ?>"><?= $name ?></a>
<span class='updated-at'>
<?= $send_datef ?>
</span>
......