Fix bug.
This commit is contained in:
parent
c59a4026c2
commit
bd8b069ad3
|
@ -39,7 +39,22 @@ if( window.location.href.indexOf('/en/') > -1 ) {
|
|||
$('.title-thead').replaceWith('<div class="col-sm-7 title-thead-en">Title</div>')
|
||||
$('.file-thead').replaceWith('<div class="col-sm-3 file-thead-en">Download file</div>')
|
||||
}
|
||||
$(document).ready(function(){
|
||||
if(window.innerWidth){
|
||||
$(".archive-items .date").each(function(i,d){
|
||||
$(d).parent().eq(0).children().height($(d).parent().height());
|
||||
$(d).parent().eq(0).children().css("min-height",$(d).parent().height());
|
||||
})
|
||||
}else{
|
||||
$(".archive-items >").css("min-height","");
|
||||
}
|
||||
})
|
||||
$(window).resize(function(){
|
||||
if(window.innerWidth){
|
||||
$(".archive-items .date").each(function(i,d){
|
||||
$(d).parent().eq(0).children().css("min-height",$(d).parent().height());
|
||||
})
|
||||
}else{
|
||||
$(".archive-items >").css("min-height","");
|
||||
}
|
||||
})
|
||||
</script>
|
Loading…
Reference in New Issue