瀏覽代碼

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);