From 9d8dce716ba49890df41f247fef897b493a754ff Mon Sep 17 00:00:00 2001 From: Nick Krecklow Date: Mon, 11 May 2020 19:29:35 -0500 Subject: [PATCH] remove legacy flot.js hacks --- assets/js/graph.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/assets/js/graph.js b/assets/js/graph.js index 13343c9..9b5219a 100644 --- a/assets/js/graph.js +++ b/assets/js/graph.js @@ -372,14 +372,10 @@ export class GraphDisplayManager { } // Reset modified DOM structures + document.getElementById('big-graph').innerHTML = '' document.getElementById('big-graph-checkboxes').innerHTML = '' document.getElementById('big-graph-controls').style.display = 'none' document.getElementById('settings-toggle').style.display = 'none' - - const graphElement = document.getElementById('big-graph') - - graphElement.innerHTML = '' - graphElement.removeAttribute('style') } }