[BUGFIX] No new nodes list error

This commit is contained in:
Xaver Maierhofer 2016-11-03 21:45:15 +01:00
parent 4c70e23e6f
commit 51caf94846

View File

@ -13,12 +13,7 @@ define(["moment", "virtual-dom", "helper", "moment.de"], function (moment, V, he
var list = data.nodes[nodes]; var list = data.nodes[nodes];
if (list.length === 0) { if (list.length === 0) {
while (el.firstChild) {
el.removeChild(el.firstChild);
}
tbody = null; tbody = null;
return; return;
} }