1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-10-02 00:40:47 +00:00

Fix problem with CecilyView that is initialised with an empty message

This commit is contained in:
Jeremy Ruston 2012-11-26 16:24:31 +00:00
parent 97c7c458f6
commit 3161e8d8ce

View File

@ -21,10 +21,12 @@ function CecilyListView(listMacro) {
// Position the initial list entries on the map // Position the initial list entries on the map
this.loadMap(); this.loadMap();
for(var t=0; t<listFrame.children.length; t++) { for(var t=0; t<listFrame.children.length; t++) {
var title = listFrame.children[t].listElementInfo.title, if(listFrame.children[t].listElementInfo) {
domNode = listFrame.children[t].domNode; var domNode = listFrame.children[t].domNode,
domNode.style.position = "absolute"; title = listFrame.children[t].listElementInfo.title;
this.positionTiddler(title,domNode); domNode.style.position = "absolute";
this.positionTiddler(title,domNode);
}
} }
} }