mirror of
https://github.com/jokob-sk/NetAlertX.git
synced 2025-12-07 09:36:05 -08:00
📚Docs
This commit is contained in:
@@ -531,6 +531,8 @@ function performSwitch(direction)
|
||||
{
|
||||
somethingChanged = false;
|
||||
|
||||
devicesList = getDevicesList()
|
||||
|
||||
// Update the global position in the devices list variable 'pos'
|
||||
if (direction === "next") {
|
||||
if (pos < devicesList.length - 1) {
|
||||
@@ -545,8 +547,6 @@ function performSwitch(direction)
|
||||
// Get the new MAC address from devicesList
|
||||
mac = devicesList[pos].devMac.toString();
|
||||
|
||||
console.log(mac);
|
||||
|
||||
setCache("naxDeviceDetailsMac", mac);
|
||||
|
||||
// Update the query string with the new MAC and refresh the page
|
||||
|
||||
Reference in New Issue
Block a user