1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-06-14 01:26:48 +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
this.loadMap();
for(var t=0; t<listFrame.children.length; t++) {
var title = listFrame.children[t].listElementInfo.title,
domNode = listFrame.children[t].domNode;
domNode.style.position = "absolute";
this.positionTiddler(title,domNode);
if(listFrame.children[t].listElementInfo) {
var domNode = listFrame.children[t].domNode,
title = listFrame.children[t].listElementInfo.title;
domNode.style.position = "absolute";
this.positionTiddler(title,domNode);
}
}
}