From: David ‘Bombe’ Roden Date: Sat, 23 Oct 2010 01:06:50 +0000 (+0200) Subject: Fix bug with getting the Sone element of an element. X-Git-Tag: 0.1-RC1~70 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=d1f9c5c3fc435116470a902bddcb38545f01f653;p=Sone.git Fix bug with getting the Sone element of an element. --- diff --git a/src/main/resources/static/javascript/sone.js b/src/main/resources/static/javascript/sone.js index f19b0d1..f1603ac 100644 --- a/src/main/resources/static/javascript/sone.js +++ b/src/main/resources/static/javascript/sone.js @@ -238,7 +238,7 @@ function getFormPassword() { } function getSoneElement(element) { - return $(element).parent(".sone"); + return $(element).parents(".sone"); } /**