Made the chooser slightly less broken

print-window-tiddler
Jeremy Ruston 2012-06-16 19:02:56 +01:00
rodzic 49cc644293
commit 04989a5ceb
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -92,8 +92,8 @@ exports.hideChooser = function() {
if(this.chooserDisplayed) {
// this.deselect();
this.chooserDisplayed = false;
for(var t=0; t<this.child.children[0].children.length; t++) {
this.child.children[0].domNode.removeChild(this.child.children[0].children[t].domNode);
while(this.child.children[0].domNode.hasChildNodes()) {
this.child.children[0].domNode.removeChild(this.child.children[0].domNode.firstChild);
}
this.child.children[0].children = [];
}