robert-o
2/26/2016 - 11:10 AM

Set to window height

Set to window height

$(document).ready(function() {
  function setHeight() {
    windowHeight = $(window).innerHeight();
    $('******').css('min-height', windowHeight);
  };
  setHeight();
  
  $(window).resize(function() {
    setHeight();
  });
});
https://j.eremy.net/set-element-height-to-viewport/