mirror of
https://github.com/jokob-sk/NetAlertX.git
synced 2026-04-05 01:31:49 -07:00
FE: cleaner getMac() + #1371
Signed-off-by: jokob-sk <jokob.sk@gmail.com>
This commit is contained in:
@@ -920,7 +920,13 @@ function getMac(){
|
||||
get: (searchParams, prop) => searchParams.get(prop),
|
||||
});
|
||||
|
||||
return params.mac
|
||||
mac = params.mac;
|
||||
|
||||
if (mac == "") {
|
||||
console.error("Couldn't retrieve mac");
|
||||
}
|
||||
|
||||
return mac;
|
||||
}
|
||||
|
||||
// -----------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user