From 5c827f762e8fd54eeb173c81d1d5330d09f389e1 Mon Sep 17 00:00:00 2001 From: Brian Federle Date: Tue, 1 Oct 2013 12:06:20 -0700 Subject: [PATCH] Fix overlay width/height --- ui/scripts/ui/widgets/overlay.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ui/scripts/ui/widgets/overlay.js b/ui/scripts/ui/widgets/overlay.js index 95db30324f9..833eb9b0cc2 100644 --- a/ui/scripts/ui/widgets/overlay.js +++ b/ui/scripts/ui/widgets/overlay.js @@ -45,6 +45,9 @@ }; $(window).bind('resize scroll', function() { - $('.overlay').css('top', $(window).scrollTop()); + $('.overlay').css({ + width: $(window).width(), + height: $(window).height() + }); }); })(window.jQuery);