Explorar o código

Tweaked notifications

Andrew Chalkley %!s(int64=9) %!d(string=hai) anos
pai
achega
0a8b7c6282
Modificáronse 1 ficheiros con 3 adicións e 3 borrados
  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);