fixed presentation and factsheet design

This commit is contained in:
Ritikesh yadav
2024-06-28 13:45:20 +05:30
parent a32ed693cd
commit e211f3e964

View File

@@ -26,12 +26,18 @@
<script>
$(document).ready(function(){
one = true;
count = 1;
$(".remove_empty_anchor a").each(function (i) {
if ($('[href]:empty',this).length == 0 && one) {
count += ++i
});
$(".remove_empty_anchor a").each(function (i) {
if (count > 4 && $('[href]:empty',this).length == 0 && one) {
one = false;
$(this).remove();
}
});
// alert(count);
})
</script>
@endsection