Fix overlay width/height

This commit is contained in:
Brian Federle 2013-10-01 12:06:20 -07:00
parent 02984bc9cb
commit 5c827f762e
1 changed files with 4 additions and 1 deletions

View File

@ -45,6 +45,9 @@
};
$(window).bind('resize scroll', function() {
$('.overlay').css('top', $(window).scrollTop());
$('.overlay').css({
width: $(window).width(),
height: $(window).height()
});
});
})(window.jQuery);