jarjonam 5 yıl önce
ebeveyn
işleme
3d9f8da21a
1 değiştirilmiş dosya ile 2 ekleme ve 0 silme
  1. 2 0
      pi/web/main.js

+ 2 - 0
pi/web/main.js

@@ -100,9 +100,11 @@ function onload(){ //Bind events
 	})
 	document.querySelector('#waveformGraphClear').addEventListener("click", function(event){
 		eel.clean_old_files("data/waveforms/", 0)
+		loadGraphList()
 	})
 	document.querySelector('#longGraphClear').addEventListener("click", function(event){
 		eel.clean_long_term()
+		loadLongGraph()
 	})
 
 	// Information for simple usage