From 03db25cf3832b803de4383b15f35f08c71620dd3 Mon Sep 17 00:00:00 2001 From: Jermolene Date: Fri, 26 Aug 2016 11:34:43 +0100 Subject: [PATCH] Fallback to "classic" if specified storyview not found Fixes #2555 --- core/modules/widgets/list.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/core/modules/widgets/list.js b/core/modules/widgets/list.js index 4c5b265f2..d0ed6f819 100755 --- a/core/modules/widgets/list.js +++ b/core/modules/widgets/list.js @@ -43,6 +43,9 @@ ListWidget.prototype.render = function(parent,nextSibling) { this.renderChildren(parent,nextSibling); // Construct the storyview var StoryView = this.storyViews[this.storyViewName]; + if(!StoryView) { + StoryView = this.storyViews["classic"]; + } if(StoryView && !this.document.isTiddlyWikiFakeDom) { this.storyview = new StoryView(this); } else {