mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-08-08 06:43:49 +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) {
|
if(this.chooserDisplayed) {
|
||||||
// this.deselect();
|
// this.deselect();
|
||||||
this.chooserDisplayed = false;
|
this.chooserDisplayed = false;
|
||||||
for(var t=0; t<this.child.children[0].children.length; t++) {
|
while(this.child.children[0].domNode.hasChildNodes()) {
|
||||||
this.child.children[0].domNode.removeChild(this.child.children[0].children[t].domNode);
|
this.child.children[0].domNode.removeChild(this.child.children[0].domNode.firstChild);
|
||||||
}
|
}
|
||||||
this.child.children[0].children = [];
|
this.child.children[0].children = [];
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user