diff --git a/static/js/devices.js b/static/js/devices.js index baac591..66b92b4 100644 --- a/static/js/devices.js +++ b/static/js/devices.js @@ -217,7 +217,7 @@ else showdevices(); filtertables(); -$("div[id$='-indicator']").each(function() { +$("i[id$='-indicator']").each(function() { device_id = this.id.split("-")[0]; updateStatus(device_id); setInterval(updateStatus, 10000, device_id); diff --git a/templates/manager/index.html b/templates/manager/index.html index 5d773f9..b866f8e 100644 --- a/templates/manager/index.html +++ b/templates/manager/index.html @@ -36,7 +36,7 @@ {% userDevices as devices %} {% for device in devices %}