From: David ‘Bombe’ Roden Date: Thu, 14 Apr 2011 19:03:55 +0000 (+0200) Subject: Filter by correct element. X-Git-Tag: 0.6.2^2~16 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=22ad78ab09d9e83686a9a6298e866df3f5caf502;p=Sone.git Filter by correct element. --- diff --git a/src/main/resources/static/javascript/sone.js b/src/main/resources/static/javascript/sone.js index eb8fc74..c339f65 100644 --- a/src/main/resources/static/javascript/sone.js +++ b/src/main/resources/static/javascript/sone.js @@ -277,7 +277,7 @@ function getFormPassword() { */ function getSone(soneId) { return $("#sone .sone").filter(function(index) { - return $(".id").text() == soneId; + return $(".id", this).text() == soneId; }); }