Skip to content

Commit

Permalink
Clean up unnecessary logging
Browse files Browse the repository at this point in the history
  • Loading branch information
jolzee committed Feb 20, 2020
1 parent 2e6842d commit 89bb3d3
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 89bb3d3

Please sign in to comment.