Update local Sones every 5 seconds.
[Sone.git] / src / main / resources / templates / include / head.html
index 8061409..858851a 100644 (file)
@@ -18,7 +18,7 @@
                /* these functions are necessary for updating Sone statuses. */
                $(document).ready(function() {
                        $("#sone .sone").each(function() {
-                               watchSone($(this).find(".id").text());
+                               watchSone($(this).find(".id").text(), $(this).hasClass("local"));
                        });
                });
        </script>