소스 검색

Removed unneeded logic

Thokoop 1 년 전
부모
커밋
3f470e14a1
1개의 변경된 파일과 0개의 추가작업 그리고 5개의 파일을 삭제
  1. 0 5
      static/main.js

+ 0 - 5
static/main.js

@@ -548,11 +548,6 @@ async function disconnectSerial() {
 
 async function restartSerial() {
     const port = document.getElementById('serial_ports').value;
-
-    if(!port){
-        document.getElementById('serial_status').innerHTML;
-    }
-
     const response = await fetch('/restart_serial', {
         method: 'POST',
         headers: { 'Content-Type': 'application/json' },