jarjonam 5 년 전
부모
커밋
3d9f8da21a
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  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