Fix bug with getting the Sone element of an element.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Sat, 23 Oct 2010 01:06:50 +0000 (03:06 +0200)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Sat, 23 Oct 2010 01:06:50 +0000 (03:06 +0200)
src/main/resources/static/javascript/sone.js

index f19b0d1..f1603ac 100644 (file)
@@ -238,7 +238,7 @@ function getFormPassword() {
 }
 
 function getSoneElement(element) {
-       return $(element).parent(".sone");
+       return $(element).parents(".sone");
 }
 
 /**