From 5f0a1dd967b2fd4cae1687e9f32096364280bd52 Mon Sep 17 00:00:00 2001 From: Jermolene Date: Sat, 27 Aug 2016 14:23:49 +0100 Subject: [PATCH] Revision of 03db25cf3832b803de4383b15f35f08c71620dd3 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit We should only fallback to the classic storyview if a storyview was specified; if none was specified then we shouldn’t use a storyview. --- core/modules/widgets/list.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/modules/widgets/list.js b/core/modules/widgets/list.js index d0ed6f819..f4981df33 100755 --- a/core/modules/widgets/list.js +++ b/core/modules/widgets/list.js @@ -43,7 +43,7 @@ ListWidget.prototype.render = function(parent,nextSibling) { this.renderChildren(parent,nextSibling); // Construct the storyview var StoryView = this.storyViews[this.storyViewName]; - if(!StoryView) { + if(this.storyViewName && !StoryView) { StoryView = this.storyViews["classic"]; } if(StoryView && !this.document.isTiddlyWikiFakeDom) {