Commit 3672dd40 authored by Jérome Perrin's avatar Jérome Perrin

fix clear all button

parent 3ed27d8f
...@@ -189,8 +189,8 @@ ...@@ -189,8 +189,8 @@
that.clearAll = function () { that.clearAll = function () {
$("[id=render]").children().remove() $("[id=render]").children().remove()
$.each(priv.element_container, function(idx, element) { $.each(priv.element_container, function(element_id) {
priv.removeElement(element); priv.removeElement(element_id);
}); });
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment