Dumbfix 1

This commit is contained in:
Falkvinge
2017-03-16 14:04:00 +01:00
parent 5becb7cee9
commit 85f7864199
+2 -5
View File
@@ -111,17 +111,14 @@ function updateListBox(box, listData) {
listArray.forEach(function(item, index) {
if (idBoxLookup[item.id] != true) {
if (idBoxLookup[item.Id] != true) {
var newItem = $("<li> " + item.Text + "</li>").hide();
$(box).append(newItem);
$(listElements).append(newItem);
newItem.slideDown();
}
});
/*
// Step 4: Adjust visibility as required
var listEmpty = (!$.isArray(listArray) || !listArray.length);