Updated blacklane, chubb and anthology's templates. Some small script updates. Todos.
This commit is contained in:
@ -10,9 +10,9 @@
|
||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/tiny-slider/2.9.4/tiny-slider.css">
|
||||
|
||||
<!-- Slick -->
|
||||
<script src=
|
||||
"https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js">
|
||||
</script>
|
||||
<script src=
|
||||
"https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js">
|
||||
</script>
|
||||
<link rel="stylesheet" type="text/css" href="//cdn.jsdelivr.net/gh/kenwheeler/slick@1.8.1/slick/slick.css"/>
|
||||
<!-- Add the slick-theme.css if you want default styling -->
|
||||
<link rel="stylesheet" type="text/css" href="//cdn.jsdelivr.net/gh/kenwheeler/slick@1.8.1/slick/slick-theme.css"/>
|
||||
@ -86,11 +86,11 @@
|
||||
categoryFiltersArray.forEach(function(category, index) {
|
||||
category.textContent = category.textContent.replace('$', '');
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function resultCounter() {
|
||||
if (window.location.pathname.includes('search')) {
|
||||
if (window.location.pathname.includes('search')) {
|
||||
var searchCardsLenght = document.querySelectorAll('.np-search-result').length;
|
||||
var searchNumber = document.getElementById('search-number').innerText = searchCardsLenght;
|
||||
}
|
||||
@ -111,4 +111,4 @@
|
||||
resultCounter();
|
||||
removeCertifacteeVerificationCard();
|
||||
});
|
||||
</script>
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user