From a4d5d179fef3a46cbf044565fc735fd2152feac8 Mon Sep 17 00:00:00 2001 From: Matthias Konitzny <konitzny@ibr.cs.tu-bs.de> Date: Mon, 2 Aug 2021 13:18:47 +0200 Subject: [PATCH] Removed logs. --- display/graph.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/display/graph.js b/display/graph.js index 7f975db..5b2a457 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() -- GitLab