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