mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-23 18:17:20 +00:00
Made the chooser slightly less broken
This commit is contained in:
parent
49cc644293
commit
04989a5ceb
@ -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 = [];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user