jQuery working out wrong height, due to @font-face

前端 未结 3 1866
刺人心
刺人心 2021-01-04 13:14

I have a problem with jQuery and @font-face.

I need to work out the height of a

, which works fine, but then there is a small delay for the f
3条回答
  •  傲寒
    傲寒 (楼主)
    2021-01-04 13:48

    The perfect solution was, as Adam pointed out, using $(window).load instead of $(document).ready

    $(window).load(function(){  
      $(".column").equalHeights();
    }); 
    

提交回复
热议问题