From 89bb3d3f5234fb40e0b4d1b7877cd16c76abbde1 Mon Sep 17 00:00:00 2001 From: Peter Joles Date: Thu, 20 Feb 2020 13:04:31 -0800 Subject: [PATCH] Clean up unnecessary logging --- src/App.vue | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/src/App.vue b/src/App.vue index ce6b7627..5090705d 100644 --- a/src/App.vue +++ b/src/App.vue @@ -921,12 +921,10 @@ export default { logger.debug("Mobile device - Calculating the View Height in JS"); let vh = null; if (this.embed && parent) { - var parentHeight = parent.getLeopardElementHeight(); - // let parentHeight = localStorage.getItem(STORAGE_KEY + "parentHeight"); - logger.debug(`Frame Height: ${parentHeight}`); - vh = parentHeight * 0.01; - this.parentHeight = parentHeight; - logger.debug(`Parent Height: ${parentHeight}`); + let parentHeightLeopard = parent.getLeopardElementHeight(); + logger.debug(`Frame Height: ${parentHeightLeopard}`); + vh = parentHeightLeopard * 0.01; + this.parentHeight = parentHeightLeopard; } else { vh = window.innerHeight * 0.01; }