diff --git a/display/graph.js b/display/graph.js index 7f975db61ddae74f302a4038e450c9799711824b..5b2a4572fe0f55e1d9fd3b1d96068de929992880 100644 --- a/display/graph.js +++ b/display/graph.js @@ -160,13 +160,10 @@ class Graph { } resize() { - console.log(document.fullscreenElement); if(document.fullscreenElement == getCanvasDivNode()) { - console.log("Resizing to fullscreen"); this.graph.height(screen.height); this.graph.width(screen.width); } else { - console.log("Resizing to column"); this.graph.height(window.innerHeight - 200); this.graph.width(getWidth()); } @@ -250,7 +247,6 @@ function createFullScreenButton() { overlayNode.className = 'fullscreen_button'; overlayNode.innerText = 'fullscreen'; overlayNode.addEventListener("click", function () { - console.log("Catched event"); if(getCanvasDivNode().requestFullscreen) { getCanvasDivNode().requestFullscreen().then( () => G.resize()