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:24:07 +01:00
parent 0788145cb5
commit 5f0a1dd967
+1 -1
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) {