1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-06-16 10:29:54 +00:00

Fallback to "classic" if specified storyview not found

Fixes #2555
This commit is contained in:
Jermolene 2016-08-26 11:34:43 +01:00
parent 4d74f52202
commit 03db25cf38

View File

@ -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 {