1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-06-16 10:29:54 +00:00
We should only fallback to the classic storyview if a storyview was
specified; if none was specified then we shouldn’t use a storyview.
This commit is contained in:
Jermolene 2016-08-27 14:23:49 +01:00
parent 0788145cb5
commit 5f0a1dd967

View File

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