LSformElement.js : do not handle sub li elements during initialization

This commit is contained in:
Benjamin Renard 2018-04-26 11:12:38 +02:00
parent 2e9459598f
commit 5335ca477c

View file

@ -10,7 +10,7 @@ var LSformElement = new Class({
initializeLSformElement: function(li) {
if (typeof(li) == 'undefined') {
var elements = this.ul.getElements('li');
var elements = this.ul.getChildren('li');
}
else {
var elements = [li];