소스 검색

Tweaked notifications

Andrew Chalkley 9 년 전
부모
커밋
0a8b7c6282
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 3 3
      front-end/js/app.js

+ 3 - 3
front-end/js/app.js

@@ -18,14 +18,14 @@ serialScanner.on("ports", (ports) => {
    readyToFlash();
 });
 
-serialScanner.on("deviceAdded", (port ) => {
+serialScanner.on("deviceAdded", (port) => {
     appendPortToSelect(port);
-    new Notification(`Added: ${port}`)
+    new Notification(`Added: ${port}!`);
 });
 
 serialScanner.on("deviceRemoved", (port ) => {
     removePortFromSelect(port);
-    new Notification(`Removed: ${port}!`)
+    new Notification(`Removed: ${port}!`);
 });
 
 serialScanner.on("error", onError);