diff --git a/modules/archive/archive_index7.html.erb b/modules/archive/archive_index7.html.erb index 3a8b2a5..cd4449f 100644 --- a/modules/archive/archive_index7.html.erb +++ b/modules/archive/archive_index7.html.erb @@ -40,7 +40,7 @@ if( window.location.href.indexOf('/en/') > -1 ) { $('.file-thead').replaceWith('
Download file
') } $(document).ready(function(){ - if(window.innerWidth){ + if(window.innerWidth >= 768){ $(".archive-items .date").each(function(i,d){ $(d).parent().eq(0).children().css("min-height",$(d).parent().height()); }) @@ -49,7 +49,7 @@ $(document).ready(function(){ } }) $(window).resize(function(){ - if(window.innerWidth){ + if(window.innerWidth >= 768){ $(".archive-items .date").each(function(i,d){ $(d).parent().eq(0).children().css("min-height",$(d).parent().height()); })