diff --git a/public_html/includes/js/LSformElement.js b/public_html/includes/js/LSformElement.js
index 59f52743..2bd74bbe 100644
--- a/public_html/includes/js/LSformElement.js
+++ b/public_html/includes/js/LSformElement.js
@@ -50,7 +50,7 @@ var LSformElement = new Class({
},
onRemoveFieldBtnClick: function(field) {
- if (this.ul.getElements('li').length == 1) {
+ if (this.ul.getChildren('li').length == 1) {
field.clearValue.bind(field)();
}
else {