X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fresources%2Ftemplates%2Finclude%2Fhead.html;h=50cf77ed0f2467fc0830d500d23209ed5fa238ea;hb=680d60dc6802454fe812f1ceea163a1415aaee0e;hp=7798af48fb814fbaea221c1f1ce3ef1663b52fa9;hpb=067571ca9d47d10dd401312f6bfe367908866f28;p=Sone.git diff --git a/src/main/resources/templates/include/head.html b/src/main/resources/templates/include/head.html index 7798af4..50cf77e 100644 --- a/src/main/resources/templates/include/head.html +++ b/src/main/resources/templates/include/head.html @@ -14,7 +14,7 @@ /* these functions are necessary for updating Sone statuses. */ $(document).ready(function() { $("#sone .sone").each(function() { - watchSone($(this).attr("id")); + watchSone($(this).find(".id").text()); }); });