From 06599bcfc6d8c01bb11ad3f9b18ada6ef47bf166 Mon Sep 17 00:00:00 2001 From: Jeremy Ruston Date: Mon, 26 Aug 2013 14:48:05 +0100 Subject: [PATCH] Fix up closing tiddlers in the zoomin listview One for @giffmex --- core/modules/widgets/list/listviews/zoomin.js | 71 +++++++++++++++++-- 1 file changed, 66 insertions(+), 5 deletions(-) diff --git a/core/modules/widgets/list/listviews/zoomin.js b/core/modules/widgets/list/listviews/zoomin.js index 5d9e84bbf..f2903f172 100644 --- a/core/modules/widgets/list/listviews/zoomin.js +++ b/core/modules/widgets/list/listviews/zoomin.js @@ -16,7 +16,7 @@ var ZoominListView = function(listWidget) { this.listWidget = listWidget; this.storyNode = this.listWidget.renderer.domNode; // Set the current tiddler - this.currentTiddler = this.listWidget.children[0]; + this.currentTiddler = this.listWidget.children[0].domNode; // Make all the tiddlers position absolute, and hide all but the first one this.storyNode.style.position = "relative"; for(var t=0; t