Fix bug with getting the Sone element of an element.
[Sone.git] / 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");
 }
 
 /**