From 0a62005c94c59be6e68cdb835d96c80c01b2b566 Mon Sep 17 00:00:00 2001 From: "stephen@cubedesigners.com" Date: Tue, 6 Sep 2016 14:17:00 +0000 Subject: [PATCH] WIP #675 --- js/210-home.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/210-home.js b/js/210-home.js index 96e2cf7..6b0c0dc 100644 --- a/js/210-home.js +++ b/js/210-home.js @@ -55,8 +55,8 @@ function resizeHome() { } // Resize sections, allowing for scale factor that will be applied to parent element - var wh = $(window).outerHeight() / homezoom; - var ww = $(window).outerWidth() / homezoom; + var wh = window.innerHeight / homezoom; + var ww = window.innerWidth / homezoom; resizeHomeContact(ww, wh); resizeHomeReferences(ww, wh); -- 2.39.5