Pārlūkot izejas kodu

Tweaked notifications

Andrew Chalkley 9 gadi atpakaļ
vecāks
revīzija
0a8b7c6282
1 mainītis faili ar 3 papildinājumiem un 3 dzēšanām
  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);